org.mule.ra
Class MuleResourceAdapter
java.lang.Object
org.mule.ra.MuleResourceAdapter
- All Implemented Interfaces:
- ResourceAdapter, Serializable
- public class MuleResourceAdapter
- extends Object
- implements ResourceAdapter, Serializable
MuleResourceAdapter
TODO
- See Also:
- Serialized Form
Field Summary |
protected Log |
logger
logger used by this class |
logger
protected transient Log logger
- logger used by this class
MuleResourceAdapter
public MuleResourceAdapter()
start
public void start(BootstrapContext bootstrapContext)
throws ResourceAdapterInternalException
- Specified by:
start
in interface ResourceAdapter
- Throws:
ResourceAdapterInternalException
- See Also:
ResourceAdapter.start(javax.resource.spi.BootstrapContext)
stop
public void stop()
- Specified by:
stop
in interface ResourceAdapter
- See Also:
ResourceAdapter.stop()
getBootstrapContext
public BootstrapContext getBootstrapContext()
- Returns:
- the bootstrap context for this adapter
endpointActivation
public void endpointActivation(MessageEndpointFactory endpointFactory,
ActivationSpec activationSpec)
throws ResourceException
- Specified by:
endpointActivation
in interface ResourceAdapter
- Throws:
ResourceException
- See Also:
ResourceAdapter.endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory,
javax.resource.spi.ActivationSpec)
endpointDeactivation
public void endpointDeactivation(MessageEndpointFactory endpointFactory,
ActivationSpec activationSpec)
- Specified by:
endpointDeactivation
in interface ResourceAdapter
- See Also:
ResourceAdapter.endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory,
javax.resource.spi.ActivationSpec)
getXAResources
public XAResource[] getXAResources(ActivationSpec[] activationSpecs)
throws ResourceException
- We only connect to one resource manager per ResourceAdapter instance, so any
ActivationSpec will return the same XAResource.
- Specified by:
getXAResources
in interface ResourceAdapter
- Throws:
ResourceException
- See Also:
ResourceAdapter.getXAResources(javax.resource.spi.ActivationSpec[])
getPassword
public String getPassword()
- Returns:
getConfigurations
public String getConfigurations()
- Returns:
getUserName
public String getUserName()
- Returns:
setPassword
public void setPassword(String password)
- Parameters:
password
-
setConfigurations
public void setConfigurations(String configurations)
- Parameters:
configurations
-
setUserName
public void setUserName(String userid)
- Parameters:
userid
-
getConfigurationBuilder
public String getConfigurationBuilder()
setConfigurationBuilder
public void setConfigurationBuilder(String configbuilder)
getInfo
public MuleConnectionRequestInfo getInfo()
- Returns:
- Returns the info.
equals
public boolean equals(Object o)
hashCode
public int hashCode()
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.