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

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.JbossIdmIdentitySessionFactoryDescriptor
All Implemented Interfaces:
java.io.Serializable, Observable, Descriptor

public class JbossIdmIdentitySessionFactoryDescriptor
extends AbstractDescriptor

Author:
Tom Baeyens, Jeff Yu
See Also:
Serialized Form

Field Summary
protected  java.lang.String jndiName
           
protected  java.lang.String resource
           
 
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
JbossIdmIdentitySessionFactoryDescriptor()
           
 
Method Summary
 java.lang.Object construct(WireContext wireContext)
          constructs the object.
 java.lang.Class<?> getType(WireDefinition wireDefinition)
          the type of the produced object or null if that is not available
 void setJndiName(java.lang.String jndiName)
           
 void setResource(java.lang.String resource)
           
 
Methods inherited from class org.jbpm.pvm.internal.wire.descriptor.AbstractDescriptor
getDbid, getName, 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

resource

protected java.lang.String resource

jndiName

protected java.lang.String jndiName
Constructor Detail

JbossIdmIdentitySessionFactoryDescriptor

public JbossIdmIdentitySessionFactoryDescriptor()
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.

getType

public java.lang.Class<?> getType(WireDefinition wireDefinition)
Description copied from interface: Descriptor
the type of the produced object or null if that is not available

Specified by:
getType in interface Descriptor
Overrides:
getType in class AbstractDescriptor

setResource

public void setResource(java.lang.String resource)

setJndiName

public void setJndiName(java.lang.String jndiName)


Copyright © 2010 JBoss Community. All Rights Reserved.