1 package org.codehaus.xfire.service;
2
3 import java.util.Collection;
4
5 /***
6 * The central place to register, unregister, and get information about
7 * services.
8 *
9 * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a>
10 * @since Feb 18, 2004
11 */
12 public interface ServiceRegistry
13 {
14 final public static String ROLE = ServiceRegistry.class.getName();
15
16 Service getService( String serviceName );
17
18 void register( Service service );
19
20 void unregister( String serviceName );
21
22 boolean hasService(String service);
23
24 Collection getServices();
25
26
27
28
29 }