/* * JBoss, the OpenSource J2EE webOS * * Distributable under LGPL license. * See terms of license at gnu.org. */ package org.jboss.invocation; import java.rmi.Remote; import org.jboss.proxy.Interceptor; import org.jboss.util.id.GUID; /** * This invoker carries Invocation in the JMX target node. * *
* The interface in the current JBoss can be implemented with Remote/local switches or * with clustered invokers, this interface just masks the network details and the topology * of the JMX nodes for the client proxies. * * @author Marc Fleury * @version $Revision: 1.3 $ * *
Revisions: * *
20011114 marc fleury: *
* the delegate can handle network protocols on behalf of proxies (proxies delegate to these * puppies). We provide default implemenations with JRMP/Local/Clustered invokers. * The delegates are not tied to a type of invocation (EJB or generic RMI). * * @param invocation A pointer to the invocation object * @return Return value of method invocation. * * @throws Exception Failed to invoke method. */ Object invoke(Invocation invocation) throws Exception; }