Table of Contents

Search

  1. Preface
  2. RulePoint Interfaces
  3. RulePoint Services
  4. Custom Service API
  5. Java Adapter for REST API
  6. RulePoint REST API
  7. Sample XML and JSON Requests and Responses
  8. RulePoint Pluggable Authentication Module
  9. HTTP Request and Response Attributes

Developer Guide

Developer Guide

Marking the Custom Service Classes

Marking the Custom Service Classes

Use the annotations to mark the custom service classes and configurable properties, respectively.
Set the following annotations:
  • com.informatica.cep.sdk.annotations.Service
  • com.informatica.cep.sdk.annotations.ServiceProperty
The following table describes the custom annotations:
Annotation
Description
com.informatica.cep.sdk.annotations.Service
Set this annotation for all custom service classes along with the mandatory metadata when you define a service. Set the attributes for this annotation.
com.informatica.cep.sdk.annotations.ServiceProperty
If your service has multiple instance variables, you can either set the variables internally within the service or externally by using inputs provided by the user. All the user-exposed and configurable properties of the service must have public getters and setters. You must apply the @ServiceProperty annotation for the getters and set the attributes for this annotation.

0 COMMENTS

We’d like to hear from you!