org.mule.providers.jms.xa
Class SessionInvocationHandler

java.lang.Object
  extended by org.mule.providers.jms.xa.SessionInvocationHandler
All Implemented Interfaces:
InvocationHandler

public class SessionInvocationHandler
extends Object
implements InvocationHandler


Field Summary
protected static Log logger
           
 
Constructor Summary
SessionInvocationHandler(XAQueueSession xaSession)
           
SessionInvocationHandler(XASession xaSession)
           
SessionInvocationHandler(XATopicSession xaSession)
           
 
Method Summary
 boolean delist()
           
protected  void enlist()
           
 XASession getTargetObject()
           
 XAResource getXAResource()
           
 Object invoke(Object proxy, Method method, Object[] args)
           
 boolean isEnlisted()
           
 void setEnlisted(boolean enlisted)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final transient Log logger
Constructor Detail

SessionInvocationHandler

public SessionInvocationHandler(XASession xaSession)
                         throws JMSException
Throws:
JMSException

SessionInvocationHandler

public SessionInvocationHandler(XAQueueSession xaSession)
                         throws JMSException
Throws:
JMSException

SessionInvocationHandler

public SessionInvocationHandler(XATopicSession xaSession)
                         throws JMSException
Throws:
JMSException
Method Detail

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable

enlist

protected void enlist()
               throws Exception
Throws:
Exception

delist

public boolean delist()
               throws Exception
Throws:
Exception

isEnlisted

public boolean isEnlisted()

setEnlisted

public void setEnlisted(boolean enlisted)

getTargetObject

public XASession getTargetObject()

getXAResource

public XAResource getXAResource()


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.