org.objectweb.carol.jndi.spi
Class IIOPContextWrapperFactory

java.lang.Object
  extended byorg.objectweb.carol.jndi.spi.AbsInitialContextFactory
      extended byorg.objectweb.carol.jndi.spi.IIOPContextWrapperFactory
All Implemented Interfaces:
javax.naming.spi.InitialContextFactory

public class IIOPContextWrapperFactory
extends AbsInitialContextFactory
implements javax.naming.spi.InitialContextFactory

Class IIOPRemoteReferenceContextWrapperFactory is the CAROL JNDI Context factory. This context factory build the iiop context for reference wrapping to/from a remote object

Author:
Guillaume Riviere, Florent Benoit (refactoring)
See Also:
InitialContextFactory

Constructor Summary
IIOPContextWrapperFactory()
           
 
Method Summary
protected  void addExtraConfInEnvironment(java.util.Hashtable environment)
          Store orb in the environment
protected  java.lang.Class getWrapperClass()
           
protected  void init()
          For some protocols, there are some initialization stuff to do
 
Methods inherited from class org.objectweb.carol.jndi.spi.AbsInitialContextFactory
getClassArgs, getClassConstructor, getInitialContext, getKey, getReferencingFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.naming.spi.InitialContextFactory
getInitialContext
 

Constructor Detail

IIOPContextWrapperFactory

public IIOPContextWrapperFactory()
Method Detail

getWrapperClass

protected java.lang.Class getWrapperClass()
Specified by:
getWrapperClass in class AbsInitialContextFactory
Returns:
class of the wrapper (to be instantiated + pool).

init

protected void init()
             throws javax.naming.NamingException
For some protocols, there are some initialization stuff to do

Overrides:
init in class AbsInitialContextFactory
Throws:
javax.naming.NamingException - if there is an exception

addExtraConfInEnvironment

protected void addExtraConfInEnvironment(java.util.Hashtable environment)
Store orb in the environment

Overrides:
addExtraConfInEnvironment in class AbsInitialContextFactory
Parameters:
environment - hashtable containing the environment