Package org.jboss.as.controller.access
Class JmxAction
- java.lang.Object
-
- org.jboss.as.controller.access.JmxAction
-
public class JmxAction extends Object
Encapsulates authorization information about an MBean call.- Author:
- Kabir Khan
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JmxAction.Impact
The impact of the call
-
Constructor Summary
Constructors Constructor Description JmxAction(String methodName, JmxAction.Impact impact)
JmxAction(String methodName, JmxAction.Impact impact, String attribute)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Action.ActionEffect>
getActionEffects()
Gets the effects of this action.String
getAttributeName()
Gets the name of the affected MBean attribute, ifmethod name
is for a method that reads or writes attributes (i.e.JmxAction.Impact
getImpact()
Gets the impact of the callString
getMethodName()
Gets theMBeanServer
method name that was called
-
-
-
Constructor Detail
-
JmxAction
public JmxAction(String methodName, JmxAction.Impact impact)
-
JmxAction
public JmxAction(String methodName, JmxAction.Impact impact, String attribute)
-
-
Method Detail
-
getImpact
public JmxAction.Impact getImpact()
Gets the impact of the call- Returns:
- the impact
-
getMethodName
public String getMethodName()
Gets theMBeanServer
method name that was called- Returns:
- the method name. Will not be
null
-
getAttributeName
public String getAttributeName()
Gets the name of the affected MBean attribute, ifmethod name
is for a method that reads or writes attributes (i.e.getAttribute
,setAttribute
,setAttributes
).- Returns:
- the attribute name, or
null
if the method being invoked is not related to attributes
-
getActionEffects
public Set<Action.ActionEffect> getActionEffects()
Gets the effects of this action.- Returns:
- the effects. Will not be
null
-
-