public class RemoteSafeInvocationHandler extends Object implements org.jboss.remoting.ServerInvocationHandler
HibernateDetachUtility.| Constructor and Description |
|---|
RemoteSafeInvocationHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(org.jboss.remoting.callback.InvokerCallbackHandler handler) |
Object |
invoke(org.jboss.remoting.InvocationRequest invocationRequest) |
void |
registerMetricsMBean(MBeanServer mbs)
Registers the MBean used to monitor the remote API processing.
|
void |
removeListener(org.jboss.remoting.callback.InvokerCallbackHandler handler) |
void |
setInvoker(org.jboss.remoting.ServerInvoker invoker) |
void |
setMBeanServer(MBeanServer mbs) |
void |
unregisterMetricsMBean(MBeanServer mbs)
Unregisters the MBean that was used to monitor the remote API processing.
|
public Object invoke(org.jboss.remoting.InvocationRequest invocationRequest) throws Throwable
invoke in interface org.jboss.remoting.ServerInvocationHandlerThrowablepublic void registerMetricsMBean(MBeanServer mbs)
mbs - the MBeanServer where the metrics MBean should be registeredpublic void unregisterMetricsMBean(MBeanServer mbs)
mbs - the MBeanServer where the metrics MBean is registeredpublic void addListener(org.jboss.remoting.callback.InvokerCallbackHandler handler)
addListener in interface org.jboss.remoting.ServerInvocationHandlerpublic void removeListener(org.jboss.remoting.callback.InvokerCallbackHandler handler)
removeListener in interface org.jboss.remoting.ServerInvocationHandlerpublic void setInvoker(org.jboss.remoting.ServerInvoker invoker)
setInvoker in interface org.jboss.remoting.ServerInvocationHandlerpublic void setMBeanServer(MBeanServer mbs)
setMBeanServer in interface org.jboss.remoting.ServerInvocationHandlerCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.