public class MessageListenerSpec extends java.lang.Object implements ActivationSpec
| Constructor and Description |
|---|
MessageListenerSpec() |
| Modifier and Type | Method and Description |
|---|---|
ResourceAdapter |
getResourceAdapter()
Returns the associated ResourceAdapter
|
void |
setResourceAdapter(ResourceAdapter ra)
Associate this JavaBean with a resource adapter java bean.
|
void |
validate()
Validates the configuration.
|
public ResourceAdapter getResourceAdapter()
getResourceAdapter in interface ResourceAdapterAssociationpublic void setResourceAdapter(ResourceAdapter ra) throws ResourceException
setResourceAdapter in interface ResourceAdapterAssociationResourceExceptionpublic void validate()
throws InvalidPropertyException
validate in interface ActivationSpecInvalidPropertyException