Cartridges
You can hook into and use the Ambient Data Framework by implementing cartridges. A cartridge is a package of related Claim Processors that perform a certain task.
- Implementing Claim Processors
A Claim Processor converts Input Claims to Output Claims. You can implement a Claim Processor by implementing theClaimProcessorinterface or by extending theAbstractClaimProcessorclass using the Ambient Data Framework Java API (available as Javadoc Web site). - Defining a cartridge XML configuration file
When you have implemented your Claim Processors you need to create a cartridge XML configuration file that contains the definitions of Claims and Claim Processors. The file links one or more Claim Processors together and defines the input data required by the processor and the resulting output data. - Packaging cartridges
You can package the compiled class files for your Claim Processors in a JAR file. You can also include the cartridge XML configuration file in the JAR file, in which case you need to put the file in the base directory of the JAR file. - Deploying cartridges
Deploy a cartridge by copying the JAR file your Content Service or Session-enabled Content Service. - Configuring cartridges
After you have deployed the Cartridge JAR file, configure your cartridge.