站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

ClientMethodInterceptor (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.proxy
Class ClientMethodInterceptor

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

public class ClientMethodInterceptor
extends Interceptor
implements Externalizable

Handle toString, equals, hashCode locally on the client.

Version:
$Revision: 1.3 $
Author:
Scott.Stark@jboss.org, adrian@jboss.com
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.proxy.Interceptor
nextInterceptor
 
Constructor Summary
ClientMethodInterceptor()
           
 
Method Summary
protected  Object getObject(Invocation mi)
          Get the object used in Object methods
 Object invoke(Invocation mi)
          Handle methods locally on the client
 
Methods inherited from class org.jboss.proxy.Interceptor
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 Object invoke(Invocation mi)
              throws Throwable
Handle methods locally on the client

Specified by:
invoke in class Interceptor
Parameters:
mi - the invocation
Returns:
the result of the invocation
Throws:
Throwable - for any error

getObject

protected Object getObject(Invocation mi)
Get the object used in Object methods

Parameters:
mi - the invocation
Returns:
the object


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.