| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.invocation.unified.interfaces.UnifiedInvokerProxy
public class UnifiedInvokerProxy
This represents the client side of the EJB invoker. This invoker uses the remoting framework for making invocations.
| Field Summary | |
|---|---|
protected  org.jboss.logging.Logger | 
log
 | 
| Fields inherited from interface org.jboss.invocation.Invoker | 
|---|
ID | 
| Constructor Summary | |
|---|---|
UnifiedInvokerProxy()
 | 
|
UnifiedInvokerProxy(org.jboss.remoting.InvokerLocator locator)
 | 
|
UnifiedInvokerProxy(org.jboss.remoting.InvokerLocator locator,
                    boolean isStrictRMIException)
 | 
|
| Method Summary | |
|---|---|
 String | 
getServerHostName()
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.  | 
 Object | 
invoke(Invocation invocation)
The invoke with an Invocation Object.  | 
 void | 
readExternal(ObjectInput in)
Un-externalize this instance.  | 
 void | 
writeExternal(ObjectOutput out)
Externalize this instance and handle obtaining the remoteInvoker stub  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected final org.jboss.logging.Logger log
| Constructor Detail | 
|---|
public UnifiedInvokerProxy()
public UnifiedInvokerProxy(org.jboss.remoting.InvokerLocator locator)
public UnifiedInvokerProxy(org.jboss.remoting.InvokerLocator locator,
                           boolean isStrictRMIException)
| Method Detail | 
|---|
public String getServerHostName()
                         throws Exception
getServerHostName in interface InvokerException
public Object invoke(Invocation invocation)
              throws Exception
Invokerthe 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).
invoke in interface Invokerinvocation - A pointer to the invocation object
Exception - Failed to invoke method.
public void writeExternal(ObjectOutput out)
                   throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||