org.mule.ra
Class MuleResourceAdapter

java.lang.Object
  extended byorg.mule.ra.MuleResourceAdapter
All Implemented Interfaces:
Serializable

public class MuleResourceAdapter
extends Object
implements Serializable

MuleResourceAdapter TODO

See Also:
Serialized Form

Field Summary
protected  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(Object o)
           
 BootstrapContext getBootstrapContext()
           
 String getConfigurationBuilder()
           
 String getConfigurations()
           
 MuleConnectionRequestInfo getInfo()
           
 String getPassword()
           
 String getUserName()
           
 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(String configbuilder)
           
 void setConfigurations(String configurations)
           
 void setPassword(String password)
           
 void setUserName(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 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:
ResourceAdapter

stop

public void stop()
See Also:
ResourceAdapter

getBootstrapContext

public BootstrapContext getBootstrapContext()
Returns:
the bootstrap context for this adapter

endpointActivation

public void endpointActivation(MessageEndpointFactory endpointFactory,
                               ActivationSpec activationSpec)
                        throws ResourceException
Throws:
ResourceException
See Also:
ResourceAdapter

endpointDeactivation

public void endpointDeactivation(MessageEndpointFactory endpointFactory,
                                 ActivationSpec activationSpec)
See Also:
ResourceAdapter

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.

Throws:
ResourceException
See Also:
ResourceAdapter

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-2006 MuleSource Inc.. All Rights Reserved.