Package com.sun.enterprise.naming.impl
Class RemoteSerialContextProviderImpl
- java.lang.Object
-
- com.sun.enterprise.naming.impl.SerialContextProviderImpl
-
- com.sun.enterprise.naming.impl.RemoteSerialContextProviderImpl
-
- All Implemented Interfaces:
SerialContextProvider,Remote
public class RemoteSerialContextProviderImpl extends SerialContextProviderImpl
This class is the implementation of the Remote SerialContextProvider- Author:
- Sheetal Vartak
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIAL_CONTEXT_PROVIDER_NAME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RemoteinitSerialContextProvider(org.omg.CORBA.ORB orb, TransientContext rootContext)Create the remote object and publish it in the CosNaming name service.Hashtablelist()Hashtablelist(String name)List the contents of the specified context.Objectlookup(String name)Lookup the specified name.-
Methods inherited from class com.sun.enterprise.naming.impl.SerialContextProviderImpl
bind, createSubcontext, destroySubcontext, rebind, rename, unbind
-
-
-
-
Field Detail
-
SERIAL_CONTEXT_PROVIDER_NAME
public static final String SERIAL_CONTEXT_PROVIDER_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
list
public Hashtable list() throws RemoteException
- Specified by:
listin interfaceSerialContextProvider- Overrides:
listin classSerialContextProviderImpl- Throws:
RemoteException
-
list
public Hashtable list(String name) throws NamingException, RemoteException
Description copied from class:SerialContextProviderImplList the contents of the specified context.- Specified by:
listin interfaceSerialContextProvider- Overrides:
listin classSerialContextProviderImpl- Throws:
NamingException- if there is a naming exception.RemoteException
-
initSerialContextProvider
public static Remote initSerialContextProvider(org.omg.CORBA.ORB orb, TransientContext rootContext) throws RemoteException
Create the remote object and publish it in the CosNaming name service.- Throws:
RemoteException
-
lookup
public Object lookup(String name) throws NamingException, RemoteException
Description copied from class:SerialContextProviderImplLookup the specified name.- Specified by:
lookupin interfaceSerialContextProvider- Overrides:
lookupin classSerialContextProviderImpl- Returns:
- the object orK context bound to the name.
- Throws:
NamingException- if there is a naming exception.RemoteException
-
-