org.objectweb.carol.jndi.iiop
Class IIOPReferenceContextWrapperFactory

java.lang.Object
  |
  +--org.objectweb.carol.jndi.iiop.IIOPReferenceContextWrapperFactory
All Implemented Interfaces:
javax.naming.spi.InitialContextFactory, javax.naming.spi.ObjectFactory

public class IIOPReferenceContextWrapperFactory
extends java.lang.Object
implements javax.naming.spi.ObjectFactory, javax.naming.spi.InitialContextFactory


Constructor Summary
IIOPReferenceContextWrapperFactory()
           
 
Method Summary
 javax.naming.Context getInitialContext(java.util.Hashtable env)
          Get/Build the IIOP Wrapper InitialContext
 java.lang.Object getObjectInstance(java.lang.Object ref, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable env)
          Get/Build the ObjectInstance Alway return null for the moment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IIOPReferenceContextWrapperFactory

public IIOPReferenceContextWrapperFactory()
Method Detail

getInitialContext

public javax.naming.Context getInitialContext(java.util.Hashtable env)
                                       throws javax.naming.NamingException
Get/Build the IIOP Wrapper InitialContext

Specified by:
getInitialContext in interface javax.naming.spi.InitialContextFactory
Parameters:
env - the inital IIOP environement
Returns:
a Context coresponding to the inital IIOP environement with IIOP Serializable ressource wrapping
Throws:
javax.naming.NamingException - if a naming exception is encountered

getObjectInstance

public java.lang.Object getObjectInstance(java.lang.Object ref,
                                          javax.naming.Name name,
                                          javax.naming.Context nameCtx,
                                          java.util.Hashtable env)
                                   throws javax.naming.NamingException
Get/Build the ObjectInstance Alway return null for the moment

Specified by:
getObjectInstance in interface javax.naming.spi.ObjectFactory
Returns:
null
javax.naming.NamingException