public class SessionInvocationHandler extends Object implements TargetInvocationHandler
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
logger |
Constructor and Description |
---|
SessionInvocationHandler(XAQueueSession xaSession,
Boolean sameRMOverrideValue) |
SessionInvocationHandler(XASession xaSession,
Boolean sameRMOverrideValue) |
SessionInvocationHandler(XATopicSession xaSession,
Boolean sameRMOverrideValue) |
Modifier and Type | Method and Description |
---|---|
boolean |
delist() |
boolean |
enlist() |
Object |
getTargetObject() |
XAResource |
getXAResource() |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
boolean |
isEnlisted() |
void |
setEnlisted(boolean enlisted) |
public SessionInvocationHandler(XASession xaSession, Boolean sameRMOverrideValue) throws JMSException
JMSException
public SessionInvocationHandler(XAQueueSession xaSession, Boolean sameRMOverrideValue) throws JMSException
JMSException
public SessionInvocationHandler(XATopicSession xaSession, Boolean sameRMOverrideValue) throws JMSException
JMSException
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke
in interface InvocationHandler
Throwable
public boolean isEnlisted()
public void setEnlisted(boolean enlisted)
public Object getTargetObject()
getTargetObject
in interface TargetInvocationHandler
public XAResource getXAResource()
Copyright © 2003–2018 MuleSoft, Inc.. All rights reserved.