| com.rift.coad.daemon.servicebroker.ServiceBroker
All known Subclasses: com.rift.coad.daemon.servicebroker.ServiceBrokerImpl,
ServiceBroker | public interface ServiceBroker extends Remote(Code) | | The purpose of this Daemon is to allow the registration of services within a
database which allows the JNDI's for those services to be retrieved.
author: Glynn Chaldecott |
Field Summary | |
final public static String | JNDI_URL The jndi url for the service broker. |
Method Summary | |
public String | getServiceProvider(List services) This method is used to retrieve the JNDI for a service by searching for
the supplied Strings within the database.
Parameters: services - This is a List containing Strings by which the servicecan be identified. | public List | getServiceProviders(List services) This method is used to retrieve multiple JNDI values from the database.
Parameters: services - This is a List containing Strings by which the servicecan be identified. | public void | registerService(String JNDI, List services) This method is used to register a service and its JNDI on the database. | public void | removeServiceProviders(String JNDI, List services) This method is used to remove a service from the database. |
JNDI_URL | final public static String JNDI_URL(Code) | | The jndi url for the service broker.
|
getServiceProvider | public String getServiceProvider(List services) throws RemoteException, ServiceBrokerException(Code) | | This method is used to retrieve the JNDI for a service by searching for
the supplied Strings within the database.
Parameters: services - This is a List containing Strings by which the servicecan be identified. Returns the necessary JNDI. |
getServiceProviders | public List getServiceProviders(List services) throws RemoteException, ServiceBrokerException(Code) | | This method is used to retrieve multiple JNDI values from the database.
Parameters: services - This is a List containing Strings by which the servicecan be identified. Returns a list of multiple JNDI's. |
registerService | public void registerService(String JNDI, List services) throws RemoteException, ServiceBrokerException(Code) | | This method is used to register a service and its JNDI on the database.
It will also pass the service to it's parent.
Parameters: JNDI - This is a String containing the JNDI of the service. Parameters: services - This is a List containing Strings by which the daemon is linked to the services it provides. |
removeServiceProviders | public void removeServiceProviders(String JNDI, List services) throws RemoteException, ServiceBrokerException(Code) | | This method is used to remove a service from the database.
Parameters: JNDI - This is a string containing the JNDI of the service you wish to remove. Parameters: services - This is a List of the services that are linked to that JNDI. |
|
|