|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiz.hammurapi.util.VisitableBase
biz.hammurapi.config.GenericContainer
biz.hammurapi.jms.adapter.JmsConnection
biz.hammurapi.jms.adapter.FactoryConnection
public class FactoryConnection
Field Summary |
---|
Fields inherited from class biz.hammurapi.jms.adapter.JmsConnection |
---|
definition |
Constructor Summary | |
---|---|
FactoryConnection(JmsAdapter jmsAdapter,
biz.hammurapi.jms.adapter.definition.FactoryConnection definition)
|
Method Summary | |
---|---|
protected javax.jms.ConnectionFactory |
getConnectionFactory()
Subclasses shall implement this method to either look up connection factory in JNDI or create using vendor-specific API's. |
javax.jms.Destination |
lookupDestination(java.lang.String name)
|
void |
start()
|
void |
stop()
|
Methods inherited from class biz.hammurapi.jms.adapter.JmsConnection |
---|
borrowSession, invalidateSession, returnSession |
Methods inherited from class biz.hammurapi.config.GenericContainer |
---|
acceptChildren, addComponent, addMeasurement, execute, get, getAttribute, getComponentMap, getComponentNames, getComponents, getMeasurementConsumer, getOwner, removeAttribute, setAttribute, setMeasurementConsumer, setOwner |
Methods inherited from class biz.hammurapi.util.VisitableBase |
---|
accept, object2visitor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FactoryConnection(JmsAdapter jmsAdapter, biz.hammurapi.jms.adapter.definition.FactoryConnection definition) throws biz.hammurapi.config.ConfigurationException
biz.hammurapi.config.ConfigurationException
Method Detail |
---|
public void start() throws biz.hammurapi.config.ConfigurationException
start
in interface biz.hammurapi.config.Component
start
in class JmsConnection
biz.hammurapi.config.ConfigurationException
public void stop() throws biz.hammurapi.config.ConfigurationException
stop
in interface biz.hammurapi.config.Component
stop
in class JmsConnection
biz.hammurapi.config.ConfigurationException
public javax.jms.Destination lookupDestination(java.lang.String name) throws biz.hammurapi.config.ConfigurationException
lookupDestination
in interface DestinationResolver
biz.hammurapi.config.ConfigurationException
protected javax.jms.ConnectionFactory getConnectionFactory() throws biz.hammurapi.config.ConfigurationException
JmsConnection
getConnectionFactory
in class JmsConnection
biz.hammurapi.config.ConfigurationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |