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

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

public class InvokerAdaptorClientInterceptor
extends Interceptor (src)

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

See Also:
Serialized Form

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

Constructor Detail

InvokerAdaptorClientInterceptor

public InvokerAdaptorClientInterceptor()
Method Detail

invoke

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

Specified by:
invoke in class Interceptor (src)
Throws:
java.lang.Throwable

getObjectNameFromArguments

public ObjectName (src)  getObjectNameFromArguments(Invocation (src)  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