1 package org.wamblee.system;
4 * Service descriptor providing a description and characteristics
5 * of the provided service.
7 * NOTE: The current implemention only stores the type of the
8 * descriptor but his can be extended towards more complex rules
9 * for matching services.
11 * Implementations must implement {@link #equals(Object)} and {@link #hashCode()}.
13 public interface ServiceDescriptor {
16 * Symbolic name for the service as used by the subsystem.
17 * @return Service name.
22 * Returns the service type.
23 * @return Service type.
25 Class[] getInterfaceTypes();