|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle org.jboss.soa.esb.listeners.gateway.HibernateGatewayListener
public class HibernateGatewayListener
HibernateGatewayListener is a listener which creates a HibernateInterceptor for the classname/events that need to be listened to.
Field Summary | |
---|---|
protected java.lang.Object |
_composer
|
protected java.lang.Class |
_composerClass
|
protected java.lang.String |
_composerName
|
protected static org.apache.log4j.Logger |
m_logger
|
protected java.util.Collection<EPR> |
m_targetEprs
|
protected java.lang.String |
m_targetServiceCategory
|
protected java.lang.String |
m_targetServiceName
|
Fields inherited from class org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle |
---|
PARAM_TERMINATION_PERIOD |
Constructor Summary | |
---|---|
HibernateGatewayListener(ConfigTree config)
This constructor takes in a configTree element and grabs the hibernate configuration file name. |
Method Summary | |
---|---|
protected void |
doDestroy()
Handle the destroy of the managed instance. |
protected void |
doInitialise()
Handle the initialisation of the managed instance. |
protected void |
doStart()
Handle the start of the managed instance. |
protected void |
doStop()
Handle the stop of the managed instance. |
Methods inherited from class org.jboss.soa.esb.listeners.lifecycle.AbstractManagedLifecycle |
---|
addManagedLifecycleEventListener, changeState, destroy, getConfig, getState, getTerminationPeriod, initialise, removeManagedLifecycleEventListener, start, stop, waitUntilDestroyed, waitUntilDestroyed, waitUntilNotState, waitUntilState |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.Object _composer
protected java.lang.Class _composerClass
protected java.lang.String _composerName
protected java.lang.String m_targetServiceCategory
protected java.lang.String m_targetServiceName
protected java.util.Collection<EPR> m_targetEprs
protected static final org.apache.log4j.Logger m_logger
Constructor Detail |
---|
public HibernateGatewayListener(ConfigTree config) throws ConfigurationException
config
- configtree
ConfigurationException
Method Detail |
---|
protected void doDestroy() throws ManagedLifecycleException
AbstractManagedLifecycle
doDestroy
in class AbstractManagedLifecycle
ManagedLifecycleException
- for errors while destroying.protected void doInitialise() throws ManagedLifecycleException
AbstractManagedLifecycle
doInitialise
in class AbstractManagedLifecycle
ManagedLifecycleException
- for errors while initialisation.protected void doStart() throws ManagedLifecycleException
AbstractManagedLifecycle
doStart
in class AbstractManagedLifecycle
ManagedLifecycleException
- for errors while starting.protected void doStop() throws ManagedLifecycleException
AbstractManagedLifecycle
doStop
in class AbstractManagedLifecycle
ManagedLifecycleException
- for errors while stopping.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |