public class MailResourceAdapter
extends java.lang.Object
implements javax.resource.spi.ResourceAdapter
| Constructor and Description |
|---|
MailResourceAdapter()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory,
javax.resource.spi.ActivationSpec spec) |
void |
endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory,
javax.resource.spi.ActivationSpec spec) |
boolean |
equals(java.lang.Object other) |
java.lang.Integer |
getQueueSize()
Get the queue size
|
javax.transaction.xa.XAResource[] |
getXAResources(javax.resource.spi.ActivationSpec[] specs) |
int |
hashCode() |
void |
setQueueSize(java.lang.Integer v)
Set the queue size
|
void |
start(javax.resource.spi.BootstrapContext ctx) |
void |
stop() |
public java.lang.Integer getQueueSize()
public void setQueueSize(java.lang.Integer v)
v - The valuepublic void start(javax.resource.spi.BootstrapContext ctx)
throws javax.resource.spi.ResourceAdapterInternalException
start in interface javax.resource.spi.ResourceAdapterjavax.resource.spi.ResourceAdapterInternalExceptionpublic void stop()
stop in interface javax.resource.spi.ResourceAdapterpublic void endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory,
javax.resource.spi.ActivationSpec spec)
throws javax.resource.ResourceException
endpointActivation in interface javax.resource.spi.ResourceAdapterjavax.resource.ResourceExceptionpublic void endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory,
javax.resource.spi.ActivationSpec spec)
endpointDeactivation in interface javax.resource.spi.ResourceAdapterpublic javax.transaction.xa.XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] specs)
throws javax.resource.ResourceException
getXAResources in interface javax.resource.spi.ResourceAdapterjavax.resource.ResourceExceptionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.ObjectCopyright ? 2010 Red Hat Middleware LLC (http://www.jboss.com/)