javax.resource.spi
Annotation Type Activation


@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Activation

Designates a JavaBean as an ActivationSpec. This annotation may be placed on a JavaBean. A JavaBean annotated with the Activation annotation is not 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 an JavaBean class implementing the ActivationSpec interface or annotate a JavaBean 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
 java.lang.Class[] messageListeners
          Indicates the message listener type(s) associated with this activation.
 

Element Detail

messageListeners

public abstract java.lang.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.


Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41