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.ResourceAdapter
javax.resource.spi.ResourceAdapterInternalException
public void stop()
stop
in interface javax.resource.spi.ResourceAdapter
public void endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory, javax.resource.spi.ActivationSpec spec) throws javax.resource.ResourceException
endpointActivation
in interface javax.resource.spi.ResourceAdapter
javax.resource.ResourceException
public void endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory, javax.resource.spi.ActivationSpec spec)
endpointDeactivation
in interface javax.resource.spi.ResourceAdapter
public javax.transaction.xa.XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] specs) throws javax.resource.ResourceException
getXAResources
in interface javax.resource.spi.ResourceAdapter
javax.resource.ResourceException
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
Copyright ? 2010 Red Hat Middleware LLC (http://www.jboss.com/)