Configuration

Role Configuration

The ServiceManagerService instance is required to access the YAAFI instance using a static 'getInstance()' method because YAAFI does not use any static variable to store the current instance.

The SpringFrameworkService instance starts the Spring container within YAAFI.

<role
  name="serviceManagerService"
  default-class="org.apache.fulcrum.yaafi.service.servicemanager.ServiceManagerServiceImpl"
/>
<role
  name="springFrameworkService"
  default-class="org.apache.fulcrum.spring.SpringFrameworkServiceImpl"
/>
          

Component Configuration

Item Datatype Cardinality Description
configurations Complex [1] Contains a list of Spring configuration files
configurations\configuration String [1..n] Contains the location of a Spring configuration file

Component Configuration Example

<springFrameworkService>
  <configurations>
    <configuration>./src/test/springIntoAvalonApplicationContext.xml</configuration>
  </configurations>
</springFrameworkService>