org.jboss.jms.destination
Class JBossDestinationFactory

java.lang.Object
  extended byorg.jboss.jms.destination.JBossDestinationFactory
All Implemented Interfaces:
javax.naming.spi.ObjectFactory

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

A factory for destinations


Constructor Summary
JBossDestinationFactory()
           
 
Method Summary
protected  java.lang.String getName(javax.naming.Reference reference)
          Get the name from the reference
 java.lang.Object getObjectInstance(java.lang.Object obj, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable environment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossDestinationFactory

public JBossDestinationFactory()
Method Detail

getObjectInstance

public java.lang.Object getObjectInstance(java.lang.Object obj,
                                          javax.naming.Name name,
                                          javax.naming.Context nameCtx,
                                          java.util.Hashtable environment)
                                   throws java.lang.Exception
Specified by:
getObjectInstance in interface javax.naming.spi.ObjectFactory
Throws:
java.lang.Exception

getName

protected java.lang.String getName(javax.naming.Reference reference)
Get the name from the reference

Parameters:
reference - the reference
Returns:
the name