org.objectweb.carol.jndi.spi
Class CmiContextWrapperFactory

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

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

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

Author:
Florent Benoit, Benoit Pelletier
See Also:
InitialContextFactory

Field Summary
static java.lang.String REFERENCING_FACTORY
          Referencing factory
 
Constructor Summary
CmiContextWrapperFactory()
           
 
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

CmiContextWrapperFactory

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