org.otfeed.j2ee.ra
Class OtfeedResourceAdapter
java.lang.Object
org.otfeed.j2ee.ra.OtfeedResourceAdapter
- All Implemented Interfaces:
- javax.resource.spi.ResourceAdapter
public class OtfeedResourceAdapter
- extends java.lang.Object
- implements javax.resource.spi.ResourceAdapter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OtfeedResourceAdapter
public OtfeedResourceAdapter()
endpointActivation
public void endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory,
javax.resource.spi.ActivationSpec activationSpec)
throws javax.resource.ResourceException
- Specified by:
endpointActivation in interface javax.resource.spi.ResourceAdapter
- Throws:
javax.resource.ResourceException
endpointDeactivation
public void endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory factory,
javax.resource.spi.ActivationSpec activationSpec)
- Specified by:
endpointDeactivation in interface javax.resource.spi.ResourceAdapter
getXAResources
public javax.transaction.xa.XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] spec)
throws javax.resource.ResourceException
- Specified by:
getXAResources in interface javax.resource.spi.ResourceAdapter
- Throws:
javax.resource.ResourceException
start
public void start(javax.resource.spi.BootstrapContext ctx)
throws javax.resource.spi.ResourceAdapterInternalException
- Specified by:
start in interface javax.resource.spi.ResourceAdapter
- Throws:
javax.resource.spi.ResourceAdapterInternalException
stop
public void stop()
- Specified by:
stop in interface javax.resource.spi.ResourceAdapter
getDefaultUsername
public java.lang.String getDefaultUsername()
setDefaultUsername
public void setDefaultUsername(java.lang.String username)
getDefaultPassword
public java.lang.String getDefaultPassword()
setDefaultPassword
public void setDefaultPassword(java.lang.String password)
getDefaultHostsString
public java.lang.String getDefaultHostsString()
setDefaultHostsString
public void setDefaultHostsString(java.lang.String address)
getDefaultHeartbeatInterval
public java.lang.Long getDefaultHeartbeatInterval()
setDefaultHeartbeatInterval
public void setDefaultHeartbeatInterval(java.lang.Long val)
Copyright © 2007-2008 Mike Kroutikov. All Rights Reserved.