org.jboss.jms.destination
Class JBossDestinationFactory
java.lang.Object
org.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
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 |
JBossDestinationFactory
public JBossDestinationFactory()
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