@Connector(displayName="JavaMail Adapter",
description="WildFly JavaMail Resource Adapter",
vendorName="Red Hat, Inc.",
eisType="JavaMail Adapter",
licenseRequired=true,
licenseDescription="JBoss, Home of Professional Open Source.\nCopyright 2014, Red Hat, Inc., and individual contributors\nas indicated by the @author tags. See the copyright.txt file in the\ndistribution for a full listing of individual contributors.\n\nThis is free software; you can redistribute it and/or modify it\nunder the terms of the GNU Lesser General Public License as\npublished by the Free Software Foundation; either version 2.1 of\nthe License, or (at your option) any later version.\n\nThis software is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\nLesser General Public License for more details.\n\nYou should have received a copy of the GNU Lesser General Public\nLicense along with this software; if not, write to the Free\nSoftware Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n02110-1301 USA, or see the FSF site: http://www.fsf.org.\n")
public class MailResourceAdapter
extends 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(Object other) |
Integer |
getQueueSize()
Get the queue size
|
XAResource[] |
getXAResources(javax.resource.spi.ActivationSpec[] specs) |
int |
hashCode() |
void |
setQueueSize(Integer v)
Set the queue size
|
void |
start(javax.resource.spi.BootstrapContext ctx) |
void |
stop() |
public Integer getQueueSize()
public void setQueueSize(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 XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] specs) throws javax.resource.ResourceException
getXAResources in interface javax.resource.spi.ResourceAdapterjavax.resource.ResourceExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.