org.glassfish.flashlight.datatree
Interface MethodInvoker

All Superinterfaces:
TreeElement

public interface MethodInvoker
extends TreeElement

A method implementation can be setup to return a value for a particular statistic On a call to TreeElement.getValue(), the method object on the instance is invoked

Author:
Harpreet Singh

Method Summary
 java.lang.Object getInstance()
           
 java.lang.reflect.Method getMethod()
           
 void setInstance(java.lang.Object i)
           
 void setMethod(java.lang.reflect.Method m)
           
 
Methods inherited from interface org.glassfish.flashlight.datatree.TreeElement
getName, getValue, setName
 

Method Detail

setMethod

void setMethod(java.lang.reflect.Method m)

getMethod

java.lang.reflect.Method getMethod()

setInstance

void setInstance(java.lang.Object i)

getInstance

java.lang.Object getInstance()


Copyright © 2012 GlassFish Community. All Rights Reserved.