org.jboss.mq.referenceable
Class SpyDestinationObjectFactory

java.lang.Object
  extended byorg.jboss.mq.referenceable.SpyDestinationObjectFactory
All Implemented Interfaces:
javax.naming.spi.ObjectFactory

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

This class is used to create instances of of: SpyTopic SpyQueue classes from a javax.naming.Reference instance.


Constructor Summary
SpyDestinationObjectFactory()
          SpyTopicObjectFactory constructor
 
Method Summary
 java.lang.Object getObjectInstance(java.lang.Object reference, javax.naming.Name name, javax.naming.Context contex, java.util.Hashtable properties)
          getObjectInstance method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpyDestinationObjectFactory

public SpyDestinationObjectFactory()
SpyTopicObjectFactory constructor

Method Detail

getObjectInstance

public java.lang.Object getObjectInstance(java.lang.Object reference,
                                          javax.naming.Name name,
                                          javax.naming.Context contex,
                                          java.util.Hashtable properties)
                                   throws java.lang.Exception
getObjectInstance method

Specified by:
getObjectInstance in interface javax.naming.spi.ObjectFactory
Parameters:
reference - Description of Parameter
name - Description of Parameter
contex - Description of Parameter
properties - Description of Parameter
Returns:
The ObjectInstance value
Throws:
java.lang.Exception - Description of Exception