org.codehaus.xfire.service
Interface ServiceRegistry

All Known Implementing Classes:
AbstractServiceRegistryDelegator, DefaultServiceRegistry, DefaultServiceRegistryDelegator, ServiceRegistry

public interface ServiceRegistry

The central place to register, unregister, and get information about services.

Since:
Feb 18, 2004
Author:
Dan Diephouse

Field Summary
static java.lang.String ROLE
           
 
Method Summary
 void addRegistrationEventListener(RegistrationEventListener listener)
           
 Service getService(java.lang.String serviceName)
           
 java.util.Collection getServices()
           
 boolean hasService(java.lang.String service)
           
 void register(Service service)
           
 void removeRegistrationEventListener(RegistrationEventListener listener)
           
 void unregister(java.lang.String serviceName)
           
 

Field Detail

ROLE

static final java.lang.String ROLE
Method Detail

getService

Service getService(java.lang.String serviceName)

register

void register(Service service)

unregister

void unregister(java.lang.String serviceName)

hasService

boolean hasService(java.lang.String service)

getServices

java.util.Collection getServices()

addRegistrationEventListener

void addRegistrationEventListener(RegistrationEventListener listener)

removeRegistrationEventListener

void removeRegistrationEventListener(RegistrationEventListener listener)