com.sun.enterprise.naming.impl
Class RemoteSerialContextProviderImpl

java.lang.Object
  extended by com.sun.enterprise.naming.impl.SerialContextProviderImpl
      extended by 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
static String SERIAL_CONTEXT_PROVIDER_NAME
           
 
Method Summary
static Remote initSerialContextProvider(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 interface SerialContextProvider
Overrides:
list in class SerialContextProviderImpl
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 interface SerialContextProvider
Overrides:
list in class SerialContextProviderImpl
Throws:
NamingException - if there is a naming exception.
RemoteException

initSerialContextProvider

public static Remote initSerialContextProvider(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 interface SerialContextProvider
Overrides:
lookup in class SerialContextProviderImpl
Returns:
the object orK context bound to the name.
Throws:
NamingException - if there is a naming exception.
RemoteException


Copyright © 2012. All Rights Reserved.