|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 | |
---|---|
protected org.jboss.remoting.Client |
getClient()
|
protected org.jboss.remoting.InvokerLocator |
getLocator()
|
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. |
String |
getSubSystem()
|
protected void |
init(org.jboss.remoting.InvokerLocator locator)
|
Object |
invoke(Invocation invocation)
The invoke with an Invocation Object. |
boolean |
isStrictRMIException()
|
void |
readExternal(ObjectInput in)
Un-externalize this instance. |
protected void |
setLocator(org.jboss.remoting.InvokerLocator locator)
|
protected void |
setStrictRMIException(boolean strictRMIException)
|
void |
setSubSystem(String subsystem)
|
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 |
---|
protected void init(org.jboss.remoting.InvokerLocator locator)
public String getSubSystem()
public void setSubSystem(String subsystem)
public boolean isStrictRMIException()
protected org.jboss.remoting.Client getClient()
protected org.jboss.remoting.InvokerLocator getLocator()
protected void setLocator(org.jboss.remoting.InvokerLocator locator)
protected void setStrictRMIException(boolean strictRMIException)
public String getServerHostName() throws Exception
getServerHostName
in interface Invoker
Exception
public Object invoke(Invocation invocation) throws Exception
Invoker
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).
invoke
in interface Invoker
invocation
- A pointer to the invocation object
Exception
- Failed to invoke method.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |