org.objectweb.jonas_jms
Class JObjectFactory

java.lang.Object
  extended by 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 Connection Factories. These factories are managed by the JMS Manager.

Author:
Laurent Chauvirey, Frederic Maistre, Nicolas Tachker Contributor(s): Philippe Durieux Philippe Coq: Integration Joram 3.4 (JMS 1.1)
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
Throws:
java.lang.Exception