org.objectweb.carol.jndi.spi
Class JRMPContextWrapperFactory

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

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

Class JRMPContextWrapperFactory is the CAROL JNDI Context factory. This context factory build the jrmp 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
JRMPContextWrapperFactory()
           
 
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

JRMPContextWrapperFactory

public JRMPContextWrapperFactory()
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).