com.cafesoft.cams.service.rmi
Interface RMIRegistryProxy

All Superinterfaces:
Remote

public interface RMIRegistryProxy
extends Remote

An RMI registry proxy object. This object provides a single point through which all remote clients can obtain references to remote objects stored on this policy server. When a remote client performs a lookup it provides an environment variable which contains various pieces of data used to both check access and authenticate the remote client to ensure that no rogue RMI clients can obtain a remote object maintained on the policy server.

Since:
08/03/2005

Field Summary
static String BIND_ID
          The name that will be used to bind the RMIRegistryProxy to the RMI registry.
 
Method Summary
 Remote lookup(Map environment, String name)
          Lookup a Remote reference.
 

Field Detail

BIND_ID

public static final String BIND_ID
The name that will be used to bind the RMIRegistryProxy to the RMI registry.

Since:
1.0
See Also:
Constant Field Values
Method Detail

lookup

public Remote lookup(Map environment,
                     String name)
              throws RemoteException,
                     AccessException,
                     NotBoundException
Lookup a Remote reference.

Parameters:
environment - a Map containing the environment calling this method.
name - the name of the Remote reference to lookup.
Returns:
the Remote reference.
Throws:
RemoteException - if an error occurs while looking up the Remote reference.
AccessException - if the caller of the lookup does not have permission to access the remote object.
NotBoundException - if the name given is not bound to a remote reference.
Since:
1.0


Generated on 5:16:42 PM May 12, 2008, © 1996-2005 Cafésoft LLC. All rights reserved.