com.cafesoft.cams.service.rmi
Interface RMIRegistryProxyService
- All Superinterfaces:
- Debuggable, Lifecycle, LifecycleService, Service
- public interface RMIRegistryProxyService
- extends LifecycleService
This service provides a proxy service for an RMI registry. The purpose of
this service is two fold. First, this service is responsible for binding an
instance of the RMIRegistryProxy object to the internal RMI registry. The
second responsibility is to provide a single point of access to other remote
objects that are available on the instance of the policy server.
Other Cams services can use this service to bind/unbind various remote
services that will be accessible via the RMIRegistryProxy interface.
- Since:
- 08/03/2005
- See Also:
RMIRegistryProxy
|
Method Summary |
void |
bind(String name,
Remote object)
Binds a remote reference to the specified name in this service. |
void |
unbind(String name)
Removes the binding for the specified name in this service. |
SERVICE_ID
public static final String SERVICE_ID
- Cams service name for this service.
- Since:
- 1.0
- See Also:
- Constant Field Values
bind
public void bind(String name,
Remote object)
throws ServiceException,
AlreadyBoundException
- Binds a remote reference to the specified name in this service.
- Parameters:
name - the name to associate with the remote reference.
- Throws:
ServiceException - if an error occurs binding the remote object.
AlreadyBoundException - if name is already bound.- Since:
- 1.0
unbind
public void unbind(String name)
throws ServiceException,
NotBoundException
- Removes the binding for the specified name in this service.
- Parameters:
name - the name of the binding to remove.
- Throws:
ServiceException - if an error occurs unbinding the remote object.
NotBoundException - if name is not currently bound.- Since:
- 1.0
Generated on 5:16:42 PM May 12, 2008, © 1996-2005 Cafésoft LLC. All rights reserved.