org.jbpm.pvm.internal.wire.descriptor
Class EnvDescriptor

java.lang.Object
  extended by org.jbpm.pvm.internal.util.DefaultObservable
      extended by org.jbpm.pvm.internal.wire.descriptor.AbstractDescriptor
          extended by org.jbpm.pvm.internal.wire.descriptor.EnvDescriptor
All Implemented Interfaces:
java.io.Serializable, Observable, Descriptor

public class EnvDescriptor
extends AbstractDescriptor

Author:
Tom Baeyens
See Also:
Serialized Form

Field Summary
protected  java.lang.String objectName
           
protected  java.lang.Class<?> type
           
protected  java.lang.String typeName
           
 
Fields inherited from class org.jbpm.pvm.internal.wire.descriptor.AbstractDescriptor
dbid, dbversion, init, INIT_EAGER, INIT_IMMEDIATE, INIT_LAZY, INIT_REQUIRED, name, version
 
Fields inherited from class org.jbpm.pvm.internal.util.DefaultObservable
listeners
 
Fields inherited from interface org.jbpm.pvm.internal.wire.Descriptor
EVENT_CONSTRUCTED, EVENT_CONSTRUCTING, EVENT_INITIALIZING, EVENT_REMOVE, EVENT_SET
 
Constructor Summary
EnvDescriptor()
           
EnvDescriptor(java.lang.Class<?> type)
           
 
Method Summary
 java.lang.Object construct(WireContext wireContext)
          constructs the object.
 void setObjectName(java.lang.String objectName)
           
 void setType(java.lang.Class<?> type)
           
 void setTypeName(java.lang.String typeName)
           
 
Methods inherited from class org.jbpm.pvm.internal.wire.descriptor.AbstractDescriptor
getDbid, getName, getType, initialize, isDelayable, isEagerInit, setInit, setName
 
Methods inherited from class org.jbpm.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.jbpm.pvm.internal.util.Observable
addListener, addListener, addListener, fire, fire, removeListener
 

Field Detail

objectName

protected java.lang.String objectName

typeName

protected java.lang.String typeName

type

protected java.lang.Class<?> type
Constructor Detail

EnvDescriptor

public EnvDescriptor()

EnvDescriptor

public EnvDescriptor(java.lang.Class<?> type)
Method Detail

construct

public java.lang.Object construct(WireContext wireContext)
Description copied from interface: Descriptor
constructs the object.

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.

setObjectName

public void setObjectName(java.lang.String objectName)

setTypeName

public void setTypeName(java.lang.String typeName)

setType

public void setType(java.lang.Class<?> type)


Copyright © 2010 JBoss Community. All Rights Reserved.