Home » openejb-3.1.2-src » org.apache » openejb » server » [javadoc | source]
public interface: DiscoveryAgent [javadoc | source]

All Known Implementing Classes:
    MulticastDiscoveryAgent, DiscoveryRegistry

Method from org.apache.openejb.server.DiscoveryAgent Summary:
registerService,   reportFailed,   setDiscoveryListener,   unregisterService
Method from org.apache.openejb.server.DiscoveryAgent Detail:
 public  void registerService(URI serviceUri) throws IOException
    register a service
 public  void reportFailed(URI serviceUri) throws IOException
    A process actively using a service may see it go down before the DiscoveryAgent notices the service's failure. That process can use this method to notify the DiscoveryAgent of the failure so that other listeners of this DiscoveryAgent can also be made aware of the failure.
 public  void setDiscoveryListener(DiscoveryListener listener)
    Sets the discovery listener
 public  void unregisterService(URI serviceUri) throws IOException
    register a service