Package net.timewalker.ffmq4.jndi
Class JNDIObjectFactory
- java.lang.Object
-
- net.timewalker.ffmq4.jndi.JNDIObjectFactory
-
- All Implemented Interfaces:
ObjectFactory
public final class JNDIObjectFactory extends Object implements ObjectFactory
Implementation of an
ObjectFactoryallowing to transport JNDI references of the following JMS objects :- Queue
- Topic
- ConnectionFactory
- QueueConnectionFactory
- TopicConnectionFactory
-
-
Constructor Summary
Constructors Constructor Description JNDIObjectFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetObjectInstance(Object obj, Name name, Context context, Hashtable<?,?> environment)
-
-
-
Method Detail
-
getObjectInstance
public Object getObjectInstance(Object obj, Name name, Context context, Hashtable<?,?> environment) throws Exception
- Specified by:
getObjectInstancein interfaceObjectFactory- Throws:
Exception
-
-