Configuration

To configure and register the group processor you must do the following:

  1. Write a properties file for example, MyDummyGroupProcessor.properties and enter the following:

    $class=com.mycompany.group.processor.MyDummyGroupProcessor
    
    # Define the components here if you need any for your processor
  2. Create a group descriptor file called DummyGroupDescriptor.properties and enter the following:

    $class=com.escenic.framework.descriptor.GroupDescriptor
    groupName=my-group-name
    
    groupProcessor.my-group-name.1=/com/escenic/framework/processor/MyDummyGroupProcessor

    where my-group-name is the name of the group.

    You can specify more than one processor for a group. To add a second group processor, just add another entry like this:

    groupProcessor.my-group-name.2=/com/escenic/framework/processor/MyAnotherGroupProcessor
  3. Now in order to register your group descriptor with the group descriptor factory, create a file called GroupDescriptorFactory.properties.

  4. Enter the following in the file:

    $class=com.escenic.framework.descriptor.GroupDescriptorFactory
    groupDescriptor.my-group-name=./DummyGroupDescriptor