org.huihoo.jfox.ms.jms.base
Class DestinationObjectFactory

java.lang.Object
  extended byorg.huihoo.jfox.ms.jms.base.DestinationObjectFactory
All Implemented Interfaces:
javax.naming.spi.ObjectFactory

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

This class implements javax.naming.spi.ObjectFactory. It's a factory for retrieve destination object from remote references stored in a JNDI namespace.

Version:
Revision: 1.1 Date: 2003-06-15 14:31:38
Author:
Peter.Cheng

Constructor Summary
DestinationObjectFactory()
           
 
Method Summary
 java.lang.Object getObjectInstance(java.lang.Object obj, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable environment)
          Called by JNDI to reconstruct a destination implementation from a remote reference stored in a namespace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DestinationObjectFactory

public DestinationObjectFactory()
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
Called by JNDI to reconstruct a destination implementation from a remote reference stored in a namespace

Specified by:
getObjectInstance in interface javax.naming.spi.ObjectFactory
Parameters:
obj -
name -
nameCtx -
environment -
Returns:
Object
Throws:
java.lang.Exception


Copyright © 2002-2003 Open Enterprise Foundation. All Rights Reserved.