xmlBlaster 2.1.0 API

org.xmlBlaster.util.admin.extern
Class MethodInvocation

java.lang.Object
  extended by org.xmlBlaster.util.admin.extern.MethodInvocation
All Implemented Interfaces:
java.io.Serializable

public class MethodInvocation
extends java.lang.Object
implements java.io.Serializable

MethodInvocation is wrapper for Invocation of Methods an the returning Objects TODO: Implment check before invoke if TargetHost is current Host!

See Also:
Serialized Form

Field Summary
static int ERROR
           
private  java.lang.String ID
           
private  java.lang.String methodName
           
private  java.lang.String objectName
           
static int OK
           
private  java.lang.Object[] params
           
private  java.lang.Object returnValue
           
private static long serialVersionUID
           
private  javax.management.MBeanServer server
           
private  int status
           
private  java.lang.String targetHost
           
 
Constructor Summary
MethodInvocation()
           
MethodInvocation(java.lang.reflect.Method m)
           
 
Method Summary
 java.lang.String getId()
           
 java.lang.String getMethodName()
           
 java.lang.Object[] getParams()
           
 java.lang.Object getReturnValue()
           
 int getStatus()
           
 java.lang.String getTargetHost()
           
 void invoke()
          Invoke implementation
 void setId(java.lang.String id)
           
 void setMBeanServer(javax.management.MBeanServer server)
           
 void setMethodName(java.lang.String methodName)
           
 void setParams(java.lang.Object[] params)
           
 void setTargetHost(java.lang.String target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

OK

public static final int OK
See Also:
Constant Field Values

ERROR

public static final int ERROR
See Also:
Constant Field Values

server

private transient javax.management.MBeanServer server

objectName

private java.lang.String objectName

methodName

private java.lang.String methodName

targetHost

private java.lang.String targetHost

params

private java.lang.Object[] params

returnValue

private java.lang.Object returnValue

status

private int status

ID

private java.lang.String ID
Constructor Detail

MethodInvocation

public MethodInvocation()

MethodInvocation

public MethodInvocation(java.lang.reflect.Method m)
Method Detail

setParams

public void setParams(java.lang.Object[] params)

getParams

public java.lang.Object[] getParams()

setMBeanServer

public void setMBeanServer(javax.management.MBeanServer server)

getReturnValue

public java.lang.Object getReturnValue()

getStatus

public int getStatus()

getMethodName

public java.lang.String getMethodName()

setMethodName

public void setMethodName(java.lang.String methodName)

setId

public void setId(java.lang.String id)

getId

public java.lang.String getId()

setTargetHost

public void setTargetHost(java.lang.String target)

getTargetHost

public java.lang.String getTargetHost()

invoke

public void invoke()
Invoke implementation


xmlBlaster 2.1.0 API

Copyright © 1999-2011 The xmlBlaster.org contributers.