org.jboss.jms.server.remoting
Class JMSServerInvocationHandler

java.lang.Object
  extended by org.jboss.jms.server.remoting.JMSServerInvocationHandler
All Implemented Interfaces:
org.jboss.remoting.ServerInvocationHandler

public class JMSServerInvocationHandler
extends java.lang.Object
implements org.jboss.remoting.ServerInvocationHandler

Version:
$Revision: 3261 $ $Id: JMSServerInvocationHandler.java 3261 2007-10-30 04:25:11Z clebert.suconic@jboss.com $
Author:
Ovidiu Feodorov, Tim Fox

Field Summary
protected  java.util.Map callbackHandlers
           
 
Constructor Summary
JMSServerInvocationHandler()
           
 
Method Summary
 void addListener(org.jboss.remoting.callback.InvokerCallbackHandler callbackHandler)
           
 org.jboss.remoting.ServerInvoker getInvoker()
           
 java.util.Collection getListeners()
           
 java.lang.Object invoke(org.jboss.remoting.InvocationRequest invocation)
           
 void removeListener(org.jboss.remoting.callback.InvokerCallbackHandler callbackHandler)
           
static void setClosed(boolean b)
           
 void setInvoker(org.jboss.remoting.ServerInvoker invoker)
           
 void setMBeanServer(javax.management.MBeanServer server)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

callbackHandlers

protected java.util.Map callbackHandlers
Constructor Detail

JMSServerInvocationHandler

public JMSServerInvocationHandler()
Method Detail

setClosed

public static void setClosed(boolean b)

setMBeanServer

public void setMBeanServer(javax.management.MBeanServer server)
Specified by:
setMBeanServer in interface org.jboss.remoting.ServerInvocationHandler

getInvoker

public org.jboss.remoting.ServerInvoker getInvoker()

setInvoker

public void setInvoker(org.jboss.remoting.ServerInvoker invoker)
Specified by:
setInvoker in interface org.jboss.remoting.ServerInvocationHandler

invoke

public java.lang.Object invoke(org.jboss.remoting.InvocationRequest invocation)
                        throws java.lang.Throwable
Specified by:
invoke in interface org.jboss.remoting.ServerInvocationHandler
Throws:
java.lang.Throwable

addListener

public void addListener(org.jboss.remoting.callback.InvokerCallbackHandler callbackHandler)
Specified by:
addListener in interface org.jboss.remoting.ServerInvocationHandler

removeListener

public void removeListener(org.jboss.remoting.callback.InvokerCallbackHandler callbackHandler)
Specified by:
removeListener in interface org.jboss.remoting.ServerInvocationHandler

getListeners

public java.util.Collection getListeners()
Returns:
a Collection of InvokerCallbackHandler

toString

public java.lang.String toString()
Specified by:
toString in interface org.jboss.remoting.ServerInvocationHandler
Overrides:
toString in class java.lang.Object


Copyright © 2006 JBoss Inc. All Rights Reserved.