org.mule.ra
Class MuleResourceAdapter
java.lang.Object
org.mule.ra.MuleResourceAdapter
- public class MuleResourceAdapter
- extends java.lang.Object
MuleResourceAdapter
TODO
- Version:
- $Revision: 1.6 $
- Author:
- Ross Mason
Field Summary |
protected static Log |
logger
logger used by this class |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
logger
protected static transient Log logger
- logger used by this class
MuleResourceAdapter
public MuleResourceAdapter()
start
public void start(BootstrapContext bootstrapContext)
throws ResourceAdapterInternalException
- Throws:
ResourceAdapterInternalException
- See Also:
javax.resource.spi.ResourceAdapter#start(javax.resource.spi.BootstrapContext)
stop
public void stop()
- See Also:
javax.resource.spi.ResourceAdapter#stop()
getBootstrapContext
public BootstrapContext getBootstrapContext()
- Returns:
endpointActivation
public void endpointActivation(MessageEndpointFactory endpointFactory,
ActivationSpec activationSpec)
throws ResourceException
- Throws:
ResourceException
- See Also:
javax.resource.spi.ResourceAdapter#endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory,
javax.resource.spi.ActivationSpec)
endpointDeactivation
public void endpointDeactivation(MessageEndpointFactory endpointFactory,
ActivationSpec activationSpec)
- See Also:
javax.resource.spi.ResourceAdapter#endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory,
javax.resource.spi.ActivationSpec)
getXAResources
public javax.transaction.xa.XAResource[] getXAResources(ActivationSpec[] activationSpecs)
throws ResourceException
- We only connect to one resource manager per ResourceAdapter instance, so
any ActivationSpec will return the same XAResource.
- Throws:
ResourceException
- See Also:
javax.resource.spi.ResourceAdapter#getXAResources(javax.resource.spi.ActivationSpec[])
getPassword
public java.lang.String getPassword()
- Returns:
getConfigurations
public java.lang.String getConfigurations()
- Returns:
getUserName
public java.lang.String getUserName()
- Returns:
setPassword
public void setPassword(java.lang.String password)
- Parameters:
password
-
setConfigurations
public void setConfigurations(java.lang.String configurations)
- Parameters:
configurations
-
setUserName
public void setUserName(java.lang.String userid)
- Parameters:
userid
-
getConfiguratinbuilder
public java.lang.String getConfiguratinbuilder()
setConfigurationBuilder
public void setConfigurationBuilder(java.lang.String configbuilder)
getInfo
public MuleConnectionRequestInfo getInfo()
- Returns:
- Returns the info.
equals
public boolean equals(java.lang.Object o)
hashCode
public int hashCode()
Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.