org.huihoo.jfox.ejb.naming.server
Class Invocation

java.lang.Object
  |
  +--org.huihoo.jfox.ejb.naming.server.Invocation

public class Invocation
extends java.lang.Object

Version:
$ 0.2.0 $
Author:
tai_1219@sina.com

Field Summary
static java.lang.Integer ARGUMENTS
          The arguments of the method to call
static java.lang.Integer JMX_NAME
          jmxname of mbean which will be invocationed
static java.lang.Integer METHOD
          The invocation can be a method invocation, we give the method to call
 java.util.Map payload
          Payload will be marshalled for type hiding at the RMI layers
 
Constructor Summary
Invocation()
           
 
Method Summary
 java.lang.Object[] getArguments()
           
 java.lang.String getJmxName()
           
 java.lang.reflect.Method getMethod()
           
 java.lang.Object getValue(java.lang.Object key)
           
 void setArguments(java.lang.Object[] arguments)
          A list of arguments for the method
 void setJmxName(java.lang.String jmxname)
          A container for server side association
 void setMethod(java.lang.reflect.Method method)
          set and get on method Return the invocation method.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JMX_NAME

public static final java.lang.Integer JMX_NAME
jmxname of mbean which will be invocationed


METHOD

public static final java.lang.Integer METHOD
The invocation can be a method invocation, we give the method to call


ARGUMENTS

public static final java.lang.Integer ARGUMENTS
The arguments of the method to call


payload

public java.util.Map payload
Payload will be marshalled for type hiding at the RMI layers

Constructor Detail

Invocation

public Invocation()
Method Detail

getValue

public java.lang.Object getValue(java.lang.Object key)
Parameters:
key -
Returns:
Object

setJmxName

public void setJmxName(java.lang.String jmxname)
A container for server side association

Parameters:
jmxname -

getJmxName

public java.lang.String getJmxName()
Returns:
String

setMethod

public void setMethod(java.lang.reflect.Method method)
set and get on method Return the invocation method.

Parameters:
method -

getMethod

public java.lang.reflect.Method getMethod()
Returns:
java.lang.reflect.Method

getArguments

public java.lang.Object[] getArguments()
Returns:
Object[]

setArguments

public void setArguments(java.lang.Object[] arguments)
A list of arguments for the method

Parameters:
arguments -