public interface Service<SMD>
extends org.refcodes.mixin.MetaDataAccessor<SMD>, org.refcodes.component.Component
Service
to be made available by the service bus must implement
this interface. Adding methods to this interface forces any service to
implement this method which might be useful for later extensions.
To identify a Service
via lookup, we need criteria for identifying
that service. One criteria might by the type of the Service
, others
may be implementation or configuration specific. At least the configuration
specific criteria is found in the service's meta data provided by the
MetaDataAccessor
which each Service
is to provide.
Copyright © 2016. All rights reserved.