jrun.naming
Interface ContextProxy

All Superinterfaces:
ClusterableService, java.rmi.Remote
All Known Implementing Classes:
ContextManager

public interface ContextProxy
extends ClusterableService

This remote interface defines Context functionality that is available remotely over rmi-iiop. It is implemented by ContextManager, and used as a delegate by JRunNamingContext. For example, when JRunNamingContext received a remote bind() invication, it gets its remote ContextManager stub via this interface and passes the invocation to it.

Author:
PS Neville

Method Summary
 void bind(javax.naming.Name name, java.lang.Object obj, java.lang.String className)
           
 javax.naming.Context createSubcontext(javax.naming.Name name, java.util.Hashtable env)
           
 java.lang.String getIIOPProviderURL()
           
 java.rmi.dgc.VMID getVMID()
           
 java.util.Collection list(javax.naming.Name name)
           
 java.util.Collection listBindings(javax.naming.Name name)
           
 java.lang.Object lookup(javax.naming.Name name)
           
 void rebind(javax.naming.Name name, java.lang.Object obj, java.lang.String className)
           
 void unbind(javax.naming.Name name)
           
 
Methods inherited from interface jrunx.cluster.ClusterableService
getPeers, getRemoteHostIP, getRemoteHostName, getRemoteServerName, getServerInfo, invoke, killRemoteServer, numPeers, toStub
 

Method Detail

bind

public void bind(javax.naming.Name name,
                 java.lang.Object obj,
                 java.lang.String className)
          throws javax.naming.NamingException,
                 java.rmi.RemoteException

rebind

public void rebind(javax.naming.Name name,
                   java.lang.Object obj,
                   java.lang.String className)
            throws javax.naming.NamingException,
                   java.rmi.RemoteException

unbind

public void unbind(javax.naming.Name name)
            throws javax.naming.NamingException,
                   java.rmi.RemoteException

lookup

public java.lang.Object lookup(javax.naming.Name name)
                        throws javax.naming.NamingException,
                               java.rmi.RemoteException

list

public java.util.Collection list(javax.naming.Name name)
                          throws javax.naming.NamingException,
                                 java.rmi.RemoteException

listBindings

public java.util.Collection listBindings(javax.naming.Name name)
                                  throws javax.naming.NamingException,
                                         java.rmi.RemoteException

createSubcontext

public javax.naming.Context createSubcontext(javax.naming.Name name,
                                             java.util.Hashtable env)
                                      throws javax.naming.NamingException,
                                             java.rmi.RemoteException

getIIOPProviderURL

public java.lang.String getIIOPProviderURL()
                                    throws java.rmi.RemoteException

getVMID

public java.rmi.dgc.VMID getVMID()
                          throws java.rmi.RemoteException


Copyright � 2002 Macromedia Corporation. All Rights Reserved.