org.objectweb.jonas_jms
Class JObjectFactory

java.lang.Object
  |
  +--org.objectweb.jonas_jms.JObjectFactory
All Implemented Interfaces:
javax.naming.spi.ObjectFactory

public class JObjectFactory
extends java.lang.Object
implements javax.naming.spi.ObjectFactory

Factory used by JNDI lookup to get Topic or Queue Connection Factories. These factories are managed by the JMS Manager.

See Also:
ObjectFactory

Constructor Summary
JObjectFactory()
           
 
Method Summary
 java.lang.Object getObjectInstance(java.lang.Object refObj, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable env)
          Always return the unique ConnectionFactory stored in the JmsManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JObjectFactory

public JObjectFactory()
Method Detail

getObjectInstance

public java.lang.Object getObjectInstance(java.lang.Object refObj,
                                          javax.naming.Name name,
                                          javax.naming.Context nameCtx,
                                          java.util.Hashtable env)
                                   throws java.lang.Exception
Always return the unique ConnectionFactory stored in the JmsManager
Specified by:
getObjectInstance in interface javax.naming.spi.ObjectFactory