org.ow2.bonita.pvm.internal.wire.descriptor
Class JobExecutorDescriptor

java.lang.Object
  extended by org.ow2.bonita.pvm.internal.util.DefaultObservable
      extended by org.ow2.bonita.pvm.internal.wire.descriptor.AbstractDescriptor
          extended by org.ow2.bonita.pvm.internal.wire.descriptor.ObjectDescriptor
              extended by org.ow2.bonita.pvm.internal.wire.descriptor.JobExecutorDescriptor
All Implemented Interfaces:
java.io.Serializable, Observable, Descriptor

public class JobExecutorDescriptor
extends ObjectDescriptor

Author:
Pascal Verdage Descriptor for the JobExecutor. If it is automatically started, a listener is created to stop it when the environementFactory is closed
See Also:
EnvironmentFactory, JobExecutorBinding, Serialized Form

Nested Class Summary
static class JobExecutorDescriptor.JobExecutorStopper
           
 
Field Summary
 
Fields inherited from class org.ow2.bonita.pvm.internal.wire.descriptor.AbstractDescriptor
dbid, dbversion, init, INIT_EAGER, INIT_IMMEDIATE, INIT_LAZY, INIT_REQUIRED, name, version
 
Fields inherited from class org.ow2.bonita.pvm.internal.util.DefaultObservable
listeners
 
Fields inherited from interface org.ow2.bonita.pvm.internal.wire.Descriptor
EVENT_CONSTRUCTED, EVENT_CONSTRUCTING, EVENT_INITIALIZING, EVENT_REMOVE, EVENT_SET
 
Constructor Summary
JobExecutorDescriptor()
           
 
Method Summary
 java.lang.Object construct(WireContext wireContext)
          This method constructs a new Object from the ObjectDefinition.
 void setAutoStart(boolean autoStart)
           
 
Methods inherited from class org.ow2.bonita.pvm.internal.wire.descriptor.ObjectDescriptor
addArgDescriptor, addInjection, addOperation, addTypedInjection, autoWire, getArgDescriptors, getArgs, getClassName, getFactoryDescriptor, getFactoryObjectName, getMethodName, getOperations, getType, initialize, isAutoWireEnabled, setArgDescriptors, setAutoWireEnabled, setClassName, setFactoryDescriptor, setFactoryObjectName, setMethodName, setOperations
 
Methods inherited from class org.ow2.bonita.pvm.internal.wire.descriptor.AbstractDescriptor
getDbid, getName, isDelayable, isEagerInit, setInit, setName
 
Methods inherited from class org.ow2.bonita.pvm.internal.util.DefaultObservable
addListener, addListener, addListener, fire, fire, getListeners, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ow2.bonita.pvm.internal.wire.Descriptor
getName, isDelayable, isEagerInit
 
Methods inherited from interface org.ow2.bonita.pvm.internal.util.Observable
addListener, addListener, addListener, fire, fire, removeListener
 

Constructor Detail

JobExecutorDescriptor

public JobExecutorDescriptor()
Method Detail

construct

public java.lang.Object construct(WireContext wireContext)
Description copied from class: ObjectDescriptor
This method constructs a new Object from the ObjectDefinition. This object will be created from a class constructor or from a method invocation.

Specified by:
construct in interface Descriptor
Overrides:
construct in class ObjectDescriptor
Parameters:
wireContext - WireContext in which the object is created. This is also the WireContext where the object will search for other object that may be needed during the initialization phase.
Returns:
the constructed object.
See Also:
ObjectDescriptor

setAutoStart

public void setAutoStart(boolean autoStart)


Copyright © 2009 OW2 Consortium. All Rights Reserved.