link
Avalon
Merlin Runtime
Home PlanetProductsCentral
Block Service Export
Description

Declaration of an exported service and the association to an implementation component.

Attributes
AttributeRequiredDescription
typeyes The classname of the service exported. The value must be an interface.
Nested Elements
ElementCardinalityDescription
source0..1 Declaration of the relative address of the component that shall be used to fulfil the service. The element is optional under version 3.3 and later.
Sample XML
     <!-- locally source reference -->

     <service type="tutorial.location.LocationService">
       <source>info</source>
     </service>

     <!-- nested source reference to component named xyz 
       in the subcontainer aaa -->

     <service type="tutorial.location.LocationService">
       <source>aaaa/xyz</source>
     </service>