org.mule.transport.jms.xa
Class SessionInvocationHandler
java.lang.Object
org.mule.transport.jms.xa.SessionInvocationHandler
- All Implemented Interfaces:
- java.lang.reflect.InvocationHandler, TargetInvocationHandler
public class SessionInvocationHandler
- extends java.lang.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(javax.jms.XASession xaSession,
java.lang.Boolean sameRMOverrideValue)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
SessionInvocationHandler
public SessionInvocationHandler(javax.jms.XAQueueSession xaSession,
java.lang.Boolean sameRMOverrideValue)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
SessionInvocationHandler
public SessionInvocationHandler(javax.jms.XATopicSession xaSession,
java.lang.Boolean sameRMOverrideValue)
throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
invoke
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
- Specified by:
invoke
in interface java.lang.reflect.InvocationHandler
- Throws:
java.lang.Throwable
enlist
public boolean enlist()
throws java.lang.Exception
- Throws:
java.lang.Exception
delist
public boolean delist()
throws java.lang.Exception
- Throws:
java.lang.Exception
isEnlisted
public boolean isEnlisted()
setEnlisted
public void setEnlisted(boolean enlisted)
getTargetObject
public java.lang.Object getTargetObject()
- Specified by:
getTargetObject
in interface TargetInvocationHandler
getXAResource
public javax.transaction.xa.XAResource getXAResource()
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.