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 String
SERIAL_CONTEXT_PROVIDER_NAME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Remote
initSerialContextProvider(org.omg.CORBA.ORB orb, TransientContext rootContext)
Create the remote object and publish it in the CosNaming name service.Hashtable
list()
Hashtable
list(String name)
List the contents of the specified context.Object
lookup(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:
list
in interfaceSerialContextProvider
- Overrides:
list
in classSerialContextProviderImpl
- Throws:
RemoteException
-
list
public Hashtable list(String name) throws NamingException, RemoteException
Description copied from class:SerialContextProviderImpl
List the contents of the specified context.- Specified by:
list
in interfaceSerialContextProvider
- Overrides:
list
in classSerialContextProviderImpl
- Throws:
NamingException
- if there is a naming exception.RemoteException
- if there is an RMI exception.
-
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:SerialContextProviderImpl
Lookup the specified name.- Specified by:
lookup
in interfaceSerialContextProvider
- Overrides:
lookup
in classSerialContextProviderImpl
- Returns:
- name the object or context bound to the name.
- Throws:
NamingException
- if there is a naming exception.RemoteException
- if there is an RMI exception.
-
-