1 21 22 package com.rift.coad.daemon.servicebroker; 23 24 import java.rmi.Remote ; 25 import java.rmi.RemoteException ; 26 import java.util.List ; 27 28 34 public interface ServiceBroker extends Remote { 35 36 39 public final static String JNDI_URL = "ServiceBroker"; 40 41 42 50 public void registerService(String JNDI, List services) throws 51 RemoteException , ServiceBrokerException; 52 53 61 public String getServiceProvider(List services) throws RemoteException , 62 ServiceBrokerException; 63 64 71 public List getServiceProviders(List services) throws RemoteException , 72 ServiceBrokerException; 73 74 82 public void removeServiceProviders(String JNDI, List services) throws 83 RemoteException , ServiceBrokerException; 84 85 } 86 | Popular Tags |