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

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


org.jboss.jmx.connector.invoker.client
Class InvokerAdaptorClientInterceptor

java.lang.Object
  extended byorg.jboss.proxy.Interceptor
      extended byorg.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor
All Implemented Interfaces:
Externalizable, Serializable

public class InvokerAdaptorClientInterceptor
extends Interceptor

An Interceptor that plucks the object name out of the arguments into an unmarshalled part of the payload.

Version:
$Revision: 1.2.6.1 $
Author:
Adrian Brock
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.proxy.Interceptor
nextInterceptor
 
Constructor Summary
InvokerAdaptorClientInterceptor()
           
 
Method Summary
 javax.management.ObjectName getObjectNameFromArguments(Invocation invocation)
          Return any target object name relevent for this invocation.
 Object invoke(Invocation invocation)
          Invoke using the invoker for remote invocations
 
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
 

Constructor Detail

InvokerAdaptorClientInterceptor

public InvokerAdaptorClientInterceptor()
Method Detail

invoke

public Object invoke(Invocation invocation)
              throws Throwable
Invoke using the invoker for remote invocations

Specified by:
invoke in class Interceptor
Throws:
Throwable

getObjectNameFromArguments

public javax.management.ObjectName getObjectNameFromArguments(Invocation invocation)
Return any target object name relevent for this invocation.

Methods that don't pass arguments that could be custom classes are ignored.

Classloading and registerMBean are ignored, they shouldn't be available remotely



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