org.jboss.jms.server.remoting
Class JMSServerInvocationHandler

java.lang.Object
  extended by org.jboss.jms.server.remoting.JMSServerInvocationHandler

public class JMSServerInvocationHandler
extends java.lang.Object

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(InvokerCallbackHandler callbackHandler)
           
 ServerInvoker getInvoker()
           
 java.util.Collection getListeners()
           
 java.lang.Object invoke(InvocationRequest invocation)
           
 void removeListener(InvokerCallbackHandler callbackHandler)
           
static void setClosed(boolean b)
           
 void setInvoker(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)

getInvoker

public ServerInvoker getInvoker()

setInvoker

public void setInvoker(ServerInvoker invoker)

invoke

public java.lang.Object invoke(InvocationRequest invocation)
                        throws java.lang.Throwable
Throws:
java.lang.Throwable

addListener

public void addListener(InvokerCallbackHandler callbackHandler)

removeListener

public void removeListener(InvokerCallbackHandler callbackHandler)

getListeners

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2006 JBoss Inc. All Rights Reserved.