org.objectweb.carol.jndi.spi
Class JEREMIEContextWrapperFactory

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

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

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

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

Field Summary
static java.lang.String REFERENCING_FACTORY
          Referencing factory
 
Constructor Summary
JEREMIEContextWrapperFactory()
           
 
Method Summary
protected  java.lang.String getReferencingFactory()
           
protected  java.lang.Class getWrapperClass()
           
 
Methods inherited from class org.objectweb.carol.jndi.spi.AbsInitialContextFactory
addExtraConfInEnvironment, getClassArgs, getClassConstructor, getInitialContext, getKey, init
 
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
 

Field Detail

REFERENCING_FACTORY

public static final java.lang.String REFERENCING_FACTORY
Referencing factory

See Also:
Constant Field Values
Constructor Detail

JEREMIEContextWrapperFactory

public JEREMIEContextWrapperFactory()
Method Detail

getReferencingFactory

protected java.lang.String getReferencingFactory()
Specified by:
getReferencingFactory in class AbsInitialContextFactory
Returns:
the real factory of this wrapper

getWrapperClass

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