- All Superinterfaces:
- GroupIdAccessor, org.refcodes.mixin.NameAccessor, NameIdAccessor, org.refcodes.mixin.UniversalIdAccessor
- All Known Implementing Classes:
- ServiceMetaDataImpl
public interface ServiceMetaData
extends org.refcodes.mixin.UniversalIdAccessor, GroupIdAccessor, NameIdAccessor, org.refcodes.mixin.NameAccessor
Service meta data describes criteria identifying a specific service within a
pool of services. This is necessary when using a service bus and when we
might have some services of the same type but with different configurations
or other properties. In order to encapsulate the data for identifying and
loosely coupling services, the meta data describing the service is placed in
an meta data object. The meta data is not placed in the service itself
(attribute by attribute) to avoid unclear service interfaces (with lots of
meta data mixing with the service's functionality) as the main purpose of a
service is not providing meta data.