|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jbpm.util.DefaultObservable
org.jbpm.wire.descriptor.AbstractDescriptor
org.jbpm.wire.descriptor.ClassDescriptor
public class ClassDescriptor
loads the class with the specified class name using the WireContext class loader.
WireContext.getClassLoader(),
Serialized Form| Field Summary |
|---|
| Fields inherited from class org.jbpm.wire.descriptor.AbstractDescriptor |
|---|
dbid, dbversion, init, INIT_EAGER, INIT_IMMEDIATE, INIT_LAZY, INIT_REQUIRED, name, version |
| Fields inherited from class org.jbpm.util.DefaultObservable |
|---|
listeners |
| Fields inherited from interface org.jbpm.wire.Descriptor |
|---|
EVENT_CONSTRUCTED, EVENT_CONSTRUCTING, EVENT_INITIALIZING, EVENT_REMOVE, EVENT_SET |
| Constructor Summary | |
|---|---|
ClassDescriptor()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
construct(WireContext wireContext)
loads the class from the class loader of the specified WireContext. |
void |
setClass(java.lang.Class<?> clazz)
|
void |
setClassName(java.lang.String className)
|
| Methods inherited from class org.jbpm.wire.descriptor.AbstractDescriptor |
|---|
getDbid, getName, getType, initialize, isDelayable, isEagerInit, setInit, setName |
| Methods inherited from class org.jbpm.util.DefaultObservable |
|---|
addListener, addListener, addListener, fire, fire, 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.util.Observable |
|---|
addListener, addListener, addListener, fire, fire, removeListener |
| Constructor Detail |
|---|
public ClassDescriptor()
| Method Detail |
|---|
public java.lang.Object construct(WireContext wireContext)
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.
WireException - if the class could not be loaded.public void setClassName(java.lang.String className)
public void setClass(java.lang.Class<?> clazz)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||