Class JndiManagedObjectFactory
- java.lang.Object
-
- org.smallmind.phalanx.wire.jms.jndi.JndiManagedObjectFactory
-
- All Implemented Interfaces:
ManagedObjectFactory
public class JndiManagedObjectFactory extends Object implements ManagedObjectFactory
-
-
Constructor Summary
Constructors Constructor Description JndiManagedObjectFactory(JmsConnectionDetails jmsConnectionDetails)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.jms.ConnectioncreateConnection()javax.jms.DestinationgetDestination()
-
-
-
Constructor Detail
-
JndiManagedObjectFactory
public JndiManagedObjectFactory(JmsConnectionDetails jmsConnectionDetails)
-
-
Method Detail
-
createConnection
public javax.jms.Connection createConnection() throws TransportException- Specified by:
createConnectionin interfaceManagedObjectFactory- Throws:
TransportException
-
getDestination
public javax.jms.Destination getDestination() throws TransportException- Specified by:
getDestinationin interfaceManagedObjectFactory- Throws:
TransportException
-
-