org.jboss.proxy
Class ClientMethodInterceptor

java.lang.Object
  extended byorg.jboss.proxy.Interceptor (src) 
      extended byorg.jboss.proxy.ClientMethodInterceptor
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public class ClientMethodInterceptor
extends Interceptor (src)
implements java.io.Externalizable

Handle toString, equals, hashCode locally on the client.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.proxy.Interceptor (src)
nextInterceptor
 
Constructor Summary
ClientMethodInterceptor()
           
 
Method Summary
protected  java.lang.Object getObject(Invocation (src)  mi)
          Get the object used in Object methods
 java.lang.Object invoke(Invocation (src)  mi)
          Handle methods locally on the client
 
Methods inherited from class org.jboss.proxy.Interceptor (src)
getNext, readExternal, setNext, writeExternal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Constructor Detail

ClientMethodInterceptor

public ClientMethodInterceptor()
Method Detail

invoke

public java.lang.Object invoke(Invocation (src)  mi)
                        throws java.lang.Throwable
Handle methods locally on the client

Specified by:
invoke in class Interceptor (src)
Parameters:
mi - the invocation
Returns:
the result of the invocation
Throws:
java.lang.Throwable - for any error

getObject

protected java.lang.Object getObject(Invocation (src)  mi)
Get the object used in Object methods

Parameters:
mi - the invocation
Returns:
the object