Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » invocation » [javadoc | source]
org.jboss.invocation
public interface: Invoker [javadoc | source]

All Implemented Interfaces:
    Remote

All Known Implementing Classes:
    UnifiedInvokerHAProxy, PooledInvokerProxy, HttpInvokerProxy, UnifiedInvokerProxy, JRMPInvokerProxy, JRMPInvokerProxyHA, HttpInvokerProxyHA, JRMPInvokerHA, LocalInvoker, JRMPInvoker

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.

Field Summary
 GUID ID    A globaly unique identifier use to determine if an instance is local to the invoker. 
Method from org.jboss.invocation.Invoker Summary:
getServerHostName,   invoke
Method from org.jboss.invocation.Invoker Detail:
 public String getServerHostName() throws Exception
    A free form String identifier for this delegate invoker, can be clustered or target node This should evolve in a more advanced meta-inf object
 public Object invoke(Invocation invocation) throws Exception
    The invoke with an Invocation Object.

    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).