Service DescriptorDeclaration of the set of services published by this component type. Nested Elements
DescriptionDeclaration of the set of services that this component is capable of supplying. Each service declarared under the services element may be referenced by other component types as service dependecies or lifecycle stage depedencies. A container is responsible for the assembly of component types based on the connection of supply components to consumer components via a common service description. Example XML<services> <!-- The service type is the classname of an interface and the version identifier qualifes the interface version. --> <service type="org.apache.SimpleService" version="3.2"> <attributes> <!-- Attribute declarations may be included to qualify the characteristics of the service provided by the component implementation. --> <attribute key="a-key" value="a-value"/> </attributes> </service> </services> |