link
Avalon
Service Descriptors
Home PlanetProductsCentral
Service Descriptor
Description

The org.apache.avalon.meta.info.ServiceDescriptor class describes a service delivery capability. It contains a reference to ServiceDefinition. Service delivery capability represent the value-proposition that the component type offers to its clients. Client typically include other component that have declared dependencies on the type of service referenced by the ServiceDescriptor. Services supporting dependency requirements are exposed to clients though a ServiceManager (or ComponentManager). For dependent services, the client will typically invoke the lookup operation against the supplied service manager, passing a lookup key to the supplied manager. The object retured is the service (or a proxy that isolates the component from the offered service).

Attributes
AttributeRequiredDescription
typeyes Declaration of an interface classname.
AttributeRequiredDescription
versionno Declaration of an service version.
Nested Elements
ElementOccuranceDescription
attributes0..1 A set of attribute declarations.
Example XML
<service type="org.apache.SimpleService" version="3.2"/>