Complete the following tasks to create a custom service:
Determine the purpose and actions of the services.
Complete the prerequisite tasks before you create a custom service.
Create a custom RulePoint service:
Create an activator class that extends from com.informatica.cep.sdk.base.BaseActivator.
Mark the custom service classes by using the custom annotations.
Set the annotation attributes.
Provide implementation for the com.informatica.cep.sdk.base.BaseActivator.getPackageNames() method for the custom service to function. Add a custom configurable property.
This method must return a string array that contains the list of packages within the bundle where it looks up the custom service annotations.
Edit the bundle manifest file and point to the activator class.
If you need to use an internal class from the parent run-time or design-time JVM, you need to specify its package in the property org.osgi.framework.bootdelegation in the file
RULEPOINT_HOME/conf/felix.properties
.
Copy the custom service jar to the custom folder in the RulePoint installation directory.
In the RulePoint user interface, verify if the services are available in the corresponding services page.