Package com.aspectran.core.context.rule
Class MethodActionRule
- java.lang.Object
-
- com.aspectran.core.context.rule.MethodActionRule
-
public class MethodActionRule extends java.lang.ObjectThe Class MethodActionRule.Created: 2016. 2. 10.
- Since:
- 2.0.0
-
-
Constructor Summary
Constructors Constructor Description MethodActionRule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetActionId()java.lang.Class<?>getConfigBeanClass()java.lang.reflect.MethodgetMethod()java.lang.StringgetMethodName()booleanisRequiresTranslet()static booleanisRequiresTranslet(java.lang.reflect.Method method)static MethodActionRulenewInstance(java.lang.Class<?> actionClass, java.lang.reflect.Method method)Returns a new derived instance of MethodActionRule.static MethodActionnewMethodAction(java.lang.Class<?> configBeanClass, java.lang.reflect.Method method)voidsetActionId(java.lang.String actionId)voidsetConfigBeanClass(java.lang.Class<?> configBeanClass)voidsetMethod(java.lang.reflect.Method method)java.lang.StringtoString()
-
-
-
Method Detail
-
getActionId
public java.lang.String getActionId()
-
setActionId
public void setActionId(java.lang.String actionId)
-
getConfigBeanClass
public java.lang.Class<?> getConfigBeanClass()
-
setConfigBeanClass
public void setConfigBeanClass(java.lang.Class<?> configBeanClass)
-
getMethod
public java.lang.reflect.Method getMethod()
-
setMethod
public void setMethod(java.lang.reflect.Method method)
-
getMethodName
public java.lang.String getMethodName()
-
isRequiresTranslet
public boolean isRequiresTranslet()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
newInstance
public static MethodActionRule newInstance(java.lang.Class<?> actionClass, java.lang.reflect.Method method)
Returns a new derived instance of MethodActionRule.- Parameters:
actionClass- the action classmethod- the method- Returns:
- the method action rule
-
isRequiresTranslet
public static boolean isRequiresTranslet(java.lang.reflect.Method method)
-
newMethodAction
public static MethodAction newMethodAction(java.lang.Class<?> configBeanClass, java.lang.reflect.Method method)
-
-