org.mule.transport.jms.xa
Class SessionInvocationHandler
java.lang.Object
org.mule.transport.jms.xa.SessionInvocationHandler
- All Implemented Interfaces:
- InvocationHandler, TargetInvocationHandler
public class SessionInvocationHandler
- extends Object
- implements TargetInvocationHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final transient Log logger
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
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke
in interface InvocationHandler
- Throws:
Throwable
enlist
public boolean 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 Object getTargetObject()
- Specified by:
getTargetObject
in interface TargetInvocationHandler
getXAResource
public XAResource getXAResource()
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.