The annotations listed and described below are provided in the POJO Service Engine API to simplify the necessary coding.
Provider - org.glassfish.openesb.pojose.api.annotation.Provider
A class-level annotation that designates a Java class as a POJO service.
Operation - org.glassfish.openesb.pojose.api.annotation.Operation
A method-level annotation that designates an operation as a POJO service method.
ConsumerEndpoint - org.glassfish.openesb.pojose.api.annotation.ConsumerEndpoint
A field-level annotation that designates fields of the type org.glassfish.openesb.pojose.api.Consumer. The POJO SE injects this instance before calling the POJO operation method.
Resource - org.glassfish.openesb.pojose.api.annotation.Resource
A field-level annotation that designates field of the type org.glassfish.openesb.pojose.api.res.Context. The POJO SE injects the instance before calling the POJO operation method.
OnReply - org.glassfish.openesb.pojose.api.annotation.OnReply
A method-level annotation that designates a method to be invoked when the reply message from the asynchronously called JBI service is received.
Fault and error messages are only handled by methods annotated with OnFault and OnError and will not get routed to methods annotated with OnReply. If you do not have OnFault or OnError annotated methods, faults or error messages are ignored after they are logged at the Severe level.
OnDone - org.glassfish.openesb.pojose.api.annotation.OnDone
A method-level annotation that designates a method to be invoked when all the outstanding reply messages from asynchronously called JBI services are received.
OnError - org.glassfish.openesb.pojose.api.annotation.OnError
A method-level annotation that designates a method to be invoked when an asynchronous JBI services call results in a JBI error status. See the note above for information about using OnReply, OnError, and OnFault.
OnFault - org.glassfish.openesb.pojose.api.annotation.OnFault
A method-level annotation that designates a method to be invoked when an asynchronous JBI services call results in a JBI fault status.