org.archive.hcc.util.jmx
Class SimpleReflectingMBeanOperation

java.lang.Object
  extended by org.archive.hcc.util.jmx.MBeanOperationBase
      extended by org.archive.hcc.util.jmx.SimpleReflectingMBeanOperation
All Implemented Interfaces:
MBeanOperation

public class SimpleReflectingMBeanOperation
extends MBeanOperationBase

This class binds an open mbean operation definition to a specific invocation target. It saves the user from having to write the code to marshall and unmarshal simple open mbean invocations.

Author:
Daniel Bernstein (dbernstein@archive.org)

Constructor Summary
SimpleReflectingMBeanOperation(java.lang.Object target, javax.management.openmbean.OpenMBeanOperationInfo info)
           
 
Method Summary
 MBeanInvocation getInvocation(java.lang.Object[] params)
           
 
Methods inherited from class org.archive.hcc.util.jmx.MBeanOperationBase
createInvocation, getInfo, matches, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleReflectingMBeanOperation

public SimpleReflectingMBeanOperation(java.lang.Object target,
                                      javax.management.openmbean.OpenMBeanOperationInfo info)
Parameters:
info -
Method Detail

getInvocation

public MBeanInvocation getInvocation(java.lang.Object[] params)
Specified by:
getInvocation in class MBeanOperationBase


Copyright © 2005-2008 The Internet Archive. All Rights Reserved.