org.ow2.jotm.jms
Class JObjectFactory
java.lang.Object
org.ow2.jotm.jms.JObjectFactory
- All Implemented Interfaces:
- ObjectFactory
public class JObjectFactory
- extends Object
- implements ObjectFactory
Factory used by JNDI lookup to get Connection Factories.
These factories are managed by the JMS Manager.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JObjectFactory
public JObjectFactory()
getObjectInstance
public Object getObjectInstance(Object refObj,
Name name,
Context nameCtx,
Hashtable env)
throws Exception
- Always return the unique ConnectionFactory stored in the JmsManager
- Specified by:
getObjectInstance in interface ObjectFactory
- Throws:
Exception
Copyright ? 2008 OW2 Consortium. All Rights Reserved.