org.mule.ra
Class MuleResourceAdapter

java.lang.Object
  extended byorg.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
 
Constructor Summary
MuleResourceAdapter()
           
 
Method Summary
 void endpointActivation(MessageEndpointFactory endpointFactory, ActivationSpec activationSpec)
           
 void endpointDeactivation(MessageEndpointFactory endpointFactory, ActivationSpec activationSpec)
           
 boolean equals(java.lang.Object o)
           
 BootstrapContext getBootstrapContext()
           
 java.lang.String getConfiguratinbuilder()
           
 java.lang.String getConfigurations()
           
 MuleConnectionRequestInfo getInfo()
           
 java.lang.String getPassword()
           
 java.lang.String getUserName()
           
 javax.transaction.xa.XAResource[] getXAResources(ActivationSpec[] activationSpecs)
          We only connect to one resource manager per ResourceAdapter instance, so any ActivationSpec will return the same XAResource.
 int hashCode()
           
 void setConfigurationBuilder(java.lang.String configbuilder)
           
 void setConfigurations(java.lang.String configurations)
           
 void setPassword(java.lang.String password)
           
 void setUserName(java.lang.String userid)
           
 void start(BootstrapContext bootstrapContext)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static transient Log logger
logger used by this class

Constructor Detail

MuleResourceAdapter

public MuleResourceAdapter()
Method Detail

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.