Fork me on GitHub

The Role Configuration File

The role configuration file is a XML file containing configuration information for the Avalon Service Container.

Adding the Avalon SystemProperty Service

The following information is needed by the Avalon Service Container to manage our service

Entry Descriptoin
name The name to lookup the service usually the interface class name
shorthand The shorthand to lookup the configuration in the Compontent Configuration
default-class The implementation class of the service

<role-list>
  <role
    name="org.apache.fulcrum.yaafi.service.systemproperty.SystemPropertyService"
    shorthand="SystemPropertyService"
    default-class="org.apache.fulcrum.yaafi.service.systemproperty.SystemPropertyServiceImpl"
   />
</role-list>