jp.carabiner.inkpod.plugin
クラス PluginExecContext
java.lang.Object
jp.carabiner.inkpod.plugin.PluginExecContext
public class PluginExecContext
- extends java.lang.Object
メソッドの概要 |
static void |
addCallHandler(PluginCallHandler handler)
|
static void |
addInvokeMethodHandler(PluginInvokeMethodHandler handler)
|
protected void |
afterCallPlugin(PluginHost<?> pluginHost,
Plugin<?> plugin)
|
protected void |
afterInvokeMethod(Plugin<?> plugin,
java.lang.Object target,
java.lang.reflect.Method method,
java.lang.Object[] args)
|
protected void |
afterReturnInvokeMethod(Plugin<?> plugin,
java.lang.Object target,
java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object returnValue)
|
protected void |
beforeCallPlugin(PluginHost<?> pluginHost,
Plugin<?> plugin)
|
protected void |
beforeInvokeMethod(Plugin<?> plugin,
java.lang.Object target,
java.lang.reflect.Method method,
java.lang.Object[] args)
|
void |
enterUtilityMethod()
|
void |
exitUtilityMethod()
|
static PluginExecContext |
getInstance()
|
Plugin<?> |
getPlugin()
|
PluginHost<?> |
getPluginHost()
|
boolean |
isPluginMethodInvoked()
|
boolean |
isRunning()
|
static void |
removeCallHandler(PluginCallHandler handler)
|
static void |
removeInvokeMethodHandler(PluginInvokeMethodHandler handler)
|
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static PluginExecContext getInstance()
addInvokeMethodHandler
public static void addInvokeMethodHandler(PluginInvokeMethodHandler handler)
removeInvokeMethodHandler
public static void removeInvokeMethodHandler(PluginInvokeMethodHandler handler)
addCallHandler
public static void addCallHandler(PluginCallHandler handler)
removeCallHandler
public static void removeCallHandler(PluginCallHandler handler)
isRunning
public boolean isRunning()
isPluginMethodInvoked
public boolean isPluginMethodInvoked()
getPluginHost
public PluginHost<?> getPluginHost()
getPlugin
public Plugin<?> getPlugin()
beforeCallPlugin
protected void beforeCallPlugin(PluginHost<?> pluginHost,
Plugin<?> plugin)
afterCallPlugin
protected void afterCallPlugin(PluginHost<?> pluginHost,
Plugin<?> plugin)
enterUtilityMethod
public void enterUtilityMethod()
exitUtilityMethod
public void exitUtilityMethod()
beforeInvokeMethod
protected void beforeInvokeMethod(Plugin<?> plugin,
java.lang.Object target,
java.lang.reflect.Method method,
java.lang.Object[] args)
afterReturnInvokeMethod
protected void afterReturnInvokeMethod(Plugin<?> plugin,
java.lang.Object target,
java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object returnValue)
afterInvokeMethod
protected void afterInvokeMethod(Plugin<?> plugin,
java.lang.Object target,
java.lang.reflect.Method method,
java.lang.Object[] args)