package org.wamblee.system; /** * Service descriptor providing a description and characteristics * of the provided service. * * NOTE: The current implemention only stores the type of the * descriptor but his can be extended towards more complex rules * for matching services. * * Implementations must implement {@link #equals(Object)} and {@link #hashCode()}. * * @author Erik Brakkee */ public interface ServiceDescriptor { /** * Symbolic name for the service as used by the subsystem. * @return Service name. */ String getName(); /** * Returns the service type. * @return Service type. */ Class[] getInterfaceTypes(); }