org.ow2.orchestra.pvm.internal.wire.descriptor
Class JobExecutorDescriptor
java.lang.Object
org.ow2.orchestra.pvm.internal.util.DefaultObservable
org.ow2.orchestra.pvm.internal.wire.descriptor.AbstractDescriptor
org.ow2.orchestra.pvm.internal.wire.descriptor.ObjectDescriptor
org.ow2.orchestra.pvm.internal.wire.descriptor.JobExecutorDescriptor
- All Implemented Interfaces:
- 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
| Methods inherited from class org.ow2.orchestra.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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JobExecutorDescriptor
public JobExecutorDescriptor(Class<? extends JobExecutor> jobExecutorClass)
construct
public 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 © 2011 OW2 Consortium. All Rights Reserved.