FileDocCategorySizeDatePackage
AOPRemotingInvocationHandler.javaAPI DocJBoss 4.2.13104Fri Jul 13 21:02:26 BST 2007org.jboss.aspects.remoting

AOPRemotingInvocationHandler

public class AOPRemotingInvocationHandler extends Object implements org.jboss.remoting.ServerInvocationHandler
AOPRemotingInvocationHandler is a ServerInvocationHandler that will forward requests to the aop Dispatcher
author
Bill Burke
version
$Revision: 57186 $

Fields Summary
Constructors Summary
public AOPRemotingInvocationHandler()

      super();
   
Methods Summary
public voidaddListener(org.jboss.remoting.callback.InvokerCallbackHandler callbackHandler)
Adds a callback handler that will listen for callbacks from the server invoker handler.

param
callbackHandler

        //TODO: implement for callback api -TME
    
public synchronized voiddestroy()
method is called to destroy the handler and remove all pending notifications and listeners from the notification cache

   
protected voidfinalize()

      destroy();
      super.finalize();
   
public java.lang.Objectinvoke(org.jboss.remoting.InvocationRequest invocation)

      org.jboss.aop.joinpoint.Invocation inv =(org.jboss.aop.joinpoint.Invocation)invocation.getParameter();
      return Dispatcher.singleton.invoke(inv);
   
public voidremoveListener(org.jboss.remoting.callback.InvokerCallbackHandler callbackHandler)
Removes the callback handler that was listening for callbacks from the server invoker handler.

param
callbackHandler

        //TODO: implement for callback api -TME
    
public voidsetInvoker(org.jboss.remoting.ServerInvoker invoker)
set the invoker that owns this handler

param
invoker

   
public voidsetMBeanServer(javax.management.MBeanServer server)
set the mbean server that the handler can reference

param
server