com.caucho.jms.jca
Class MessageListenerSpec

java.lang.Object
  extended by com.caucho.jms.jca.MessageListenerSpec
All Implemented Interfaces:
ActivationSpec, ResourceAdapterAssociation

public class MessageListenerSpec
extends java.lang.Object
implements ActivationSpec

The JMS MessageListener configuration specification.


Constructor Summary
MessageListenerSpec()
           
 
Method Summary
 ResourceAdapter getResourceAdapter()
          Returns the associated ResourceAdapter
 void setResourceAdapter(ResourceAdapter ra)
          Associate this JavaBean with a resource adapter java bean.
 void validate()
          Validates the configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageListenerSpec

public MessageListenerSpec()
Method Detail

getResourceAdapter

public ResourceAdapter getResourceAdapter()
Returns the associated ResourceAdapter

Specified by:
getResourceAdapter in interface ResourceAdapterAssociation

setResourceAdapter

public void setResourceAdapter(ResourceAdapter ra)
                        throws ResourceException
Associate this JavaBean with a resource adapter java bean. This method is called exactly once.

Specified by:
setResourceAdapter in interface ResourceAdapterAssociation
Throws:
ResourceException

validate

public void validate()
              throws InvalidPropertyException
Validates the configuration.

Specified by:
validate in interface ActivationSpec
Throws:
InvalidPropertyException