Annotation Type Activation


  • @Documented
    @Retention(RUNTIME)
    @Target(TYPE)
    public @interface Activation
    Designates a JavaBean as an ActivationSpec. This annotation may be placed on a JavaBean. Eventhough the JavaBean is annotated with the Activation annotation it is still required to implement the ActivationSpec interface.

    The ActivationSpec JavaBean contains the configuration information pertaining to inbound connectivity from an EIS instance. A resource adapter capable of message delivery to message endpoints must provide a JavaBean class implementing the ActivationSpec interface which may be annotated with the Activation annotation for each supported endpoint message listener type.

    The ActivationSpec JavaBean has a set of configurable properties specific to the messaging style and the message provider.

    Together with the messageListener annotation element, this annotation specifies information about a specific message listener type supported by the messaging resource adapter.

    Since:
    1.6
    Version:
    Java EE Connector Architecture 1.6
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      Class[] messageListeners
      Indicates the message listener type(s) associated with this activation.
    • Element Detail

      • messageListeners

        Class[] messageListeners
        Indicates the message listener type(s) associated with this activation.
        Returns:
        The Java types of the Message Listener interface this activation-spec is associated with.