public class MethodTargetStrategyStaticMethod extends Object implements MethodTargetStrategy, MethodTargetStrategyFactory, StatementReadyCallback
Constructor and Description |
---|
MethodTargetStrategyStaticMethod() |
Modifier and Type | Method and Description |
---|---|
String |
getPlan() |
Object |
invoke(Object lookupValues,
AgentInstanceContext agentInstanceContext) |
MethodTargetStrategy |
make(AgentInstanceContext agentInstanceContext) |
void |
ready(StatementContext statementContext,
ModuleIncidentals moduleIncidentals,
boolean recovery) |
protected static Method |
resolveMethod(Class clazz,
String methodName,
Class[] methodParameters) |
void |
setClazz(Class clazz) |
void |
setInvokeType(MethodTargetStrategyStaticMethodInvokeType invokeType) |
void |
setMethodName(String methodName) |
void |
setMethodParameters(Class[] methodParameters) |
public void ready(StatementContext statementContext, ModuleIncidentals moduleIncidentals, boolean recovery)
ready
in interface StatementReadyCallback
public MethodTargetStrategy make(AgentInstanceContext agentInstanceContext)
make
in interface MethodTargetStrategyFactory
public Object invoke(Object lookupValues, AgentInstanceContext agentInstanceContext)
invoke
in interface MethodTargetStrategy
public void setInvokeType(MethodTargetStrategyStaticMethodInvokeType invokeType)
public void setClazz(Class clazz)
public void setMethodName(String methodName)
public void setMethodParameters(Class[] methodParameters)
public String getPlan()
getPlan
in interface MethodTargetStrategy
Copyright © 2005–2018. All rights reserved.