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, java.rmi.Remote

public class RemoteSerialContextProviderImpl
extends SerialContextProviderImpl

This class is the implementation of the Remote SerialContextProvider

Author:
Sheetal Vartak

Field Summary
static java.lang.String SERIAL_CONTEXT_PROVIDER_NAME
           
 
Method Summary
static java.rmi.Remote initSerialContextProvider(org.omg.CORBA.ORB orb, TransientContext rootContext)
          Create the remote object and publish it in the CosNaming name service.
 java.util.Hashtable list()
           
 java.util.Hashtable list(java.lang.String name)
          List the contents of the specified context.
 java.lang.Object lookup(java.lang.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 java.lang.String SERIAL_CONTEXT_PROVIDER_NAME
See Also:
Constant Field Values
Method Detail

list

public java.util.Hashtable list()
                         throws java.rmi.RemoteException
Specified by:
list in interface SerialContextProvider
Overrides:
list in class SerialContextProviderImpl
Throws:
java.rmi.RemoteException

list

public java.util.Hashtable list(java.lang.String name)
                         throws javax.naming.NamingException,
                                java.rmi.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:
javax.naming.NamingException - if there is a naming exception.
java.rmi.RemoteException

initSerialContextProvider

public static java.rmi.Remote initSerialContextProvider(org.omg.CORBA.ORB orb,
                                                        TransientContext rootContext)
                                                 throws java.rmi.RemoteException
Create the remote object and publish it in the CosNaming name service.

Throws:
java.rmi.RemoteException

lookup

public java.lang.Object lookup(java.lang.String name)
                        throws javax.naming.NamingException,
                               java.rmi.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:
javax.naming.NamingException - if there is a naming exception.
java.rmi.RemoteException


Copyright © 2012 GlassFish Community. All Rights Reserved.