org.ow2.bonita.pvm.internal.wire.descriptor
Class HibernateSessionDescriptor
java.lang.Object
org.ow2.bonita.pvm.internal.util.DefaultObservable
org.ow2.bonita.pvm.internal.wire.descriptor.AbstractDescriptor
org.ow2.bonita.pvm.internal.wire.descriptor.HibernateSessionDescriptor
- All Implemented Interfaces:
- java.io.Serializable, Observable, Descriptor
public class HibernateSessionDescriptor
- extends AbstractDescriptor
- Author:
- Tom Baeyens
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factoryName
protected java.lang.String factoryName
useCurrent
protected boolean useCurrent
tx
protected boolean tx
close
protected boolean close
standardTransactionName
protected java.lang.String standardTransactionName
connectionName
protected java.lang.String connectionName
HibernateSessionDescriptor
public HibernateSessionDescriptor()
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
setFactoryName
public void setFactoryName(java.lang.String factoryName)
setTx
public void setTx(boolean tx)
setStandardTransactionName
public void setStandardTransactionName(java.lang.String standardTransactionName)
setConnectionName
public void setConnectionName(java.lang.String connectionName)
setUseCurrent
public void setUseCurrent(boolean useCurrent)
setClose
public void setClose(boolean close)
Copyright © 2009 OW2 Consortium. All Rights Reserved.