Package com.sun.enterprise.naming.impl
Class ProviderManager
- java.lang.Object
-
- com.sun.enterprise.naming.impl.ProviderManager
-
public class ProviderManager extends Object
This class is a facade for the remote and local SerialContextProvider The need for this class arose from the fact that we wanted to have a way of lazily initializing the Remote SerialContextProvider. The TransientContext member field has to be shared across both remote and local SerialContextProvider. It could have been a static variable but to avoid issues of static variables with multiple threads, etc, this class has been designed. The ORB needs to be initialized before the call to initRemoteProvider()- Author:
- Sheetal Vartak
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SerialContextProvider
getLocalProvider()
static ProviderManager
getProviderManager()
TransientContext
getTransientContext()
Remote
initRemoteProvider(org.omg.CORBA.ORB orb)
-
-
-
Method Detail
-
getProviderManager
public static ProviderManager getProviderManager()
-
getTransientContext
public TransientContext getTransientContext()
-
getLocalProvider
public SerialContextProvider getLocalProvider()
-
initRemoteProvider
public Remote initRemoteProvider(org.omg.CORBA.ORB orb) throws RemoteException
- Throws:
RemoteException
-
-