|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.ce.commonj.axis.handlers.AuthZConfigurationItem
This class is a Management Bean, as stated in Java Management Extensions specification. It contains any information about the configuration of a plugin (PDP/PIP) of the grid Java Authorization Framework (gJAF). The content of the MBean is set by the "master" MBean, i.e. the instance of AuthZConfiguration
Field Summary | |
protected java.util.Hashtable |
arguments
The table of arguments defined for this MBean |
protected java.lang.String |
className
The class name of the plugin handled by this MBean |
protected java.lang.String |
name
The name of the plugin handled by this MBean |
Constructor Summary | |
AuthZConfigurationItem(java.lang.String n,
java.lang.String cName)
The constructor of this class. |
Method Summary | |
void |
addArgument(java.lang.String name,
java.lang.Object value)
This method inserts a key-value argument into the the list of plugin parameters. |
java.lang.Object |
getArgument(java.lang.String name)
This method returns the value of a given argument |
java.util.Enumeration |
getArgumentNames()
This method returns an enumeration of keys for the arguments specified for the gJAF plugin |
java.lang.Object |
getAttribute(java.lang.String attr)
This method returns the value of a given configuration attribute. |
javax.management.AttributeList |
getAttributes(java.lang.String[] attrs)
This method returns a list of configuration attributes matching the given list of attributes name. |
java.lang.String |
getClassName()
This method returns the class name of the gJAF plugin |
javax.management.MBeanInfo |
getMBeanInfo()
It returns any information necessary to describe the current MBean behaviour |
java.lang.String |
getName()
This method returns the name of the gJAF plugin |
java.lang.Object |
invoke(java.lang.String operation,
java.lang.Object[] params,
java.lang.String[] signature)
It allows the JMX agent to call an operation on the current MBean. |
void |
setAttribute(javax.management.Attribute attr)
Method used to set an attribute. |
javax.management.AttributeList |
setAttributes(javax.management.AttributeList attrs)
Method used to set a list of attributes. |
java.lang.String |
toString()
It returns the name of the gJAF plugin |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String name
protected java.lang.String className
protected java.util.Hashtable arguments
Constructor Detail |
public AuthZConfigurationItem(java.lang.String n, java.lang.String cName)
n
- the name of the gJAF plugincName
- the class name of the gJAF pluginMethod Detail |
public java.lang.String getName()
public java.lang.String getClassName()
public void addArgument(java.lang.String name, java.lang.Object value)
name
- the key of the argumentvalue
- the value of the argumentpublic java.util.Enumeration getArgumentNames()
public java.lang.Object getArgument(java.lang.String name)
name
- the key of the argument
public java.lang.Object getAttribute(java.lang.String attr) throws javax.management.AttributeNotFoundException
getAttribute
in interface javax.management.DynamicMBean
attr
- the name of the configuration attribute desired
javax.management.AttributeNotFoundException
- if the attribute doesn't exist.public javax.management.AttributeList getAttributes(java.lang.String[] attrs)
getAttributes
in interface javax.management.DynamicMBean
attrs
- the list of the configuration attribute desired
public javax.management.MBeanInfo getMBeanInfo()
getMBeanInfo
in interface javax.management.DynamicMBean
public java.lang.Object invoke(java.lang.String operation, java.lang.Object[] params, java.lang.String[] signature)
invoke
in interface javax.management.DynamicMBean
operation
- is the name of the operation requiredparams
- an array of object representing the parameters of the operationsignature
- is an array of decriptions for the given parameters
java.lang.IllegalArgumentException
- if the operation is not well-specified
java.lang.UnsupportedOperationException
- if the operation is not availablepublic void setAttribute(javax.management.Attribute attr)
setAttribute
in interface javax.management.DynamicMBean
attr
- the attribute to insert into the current MBeanpublic javax.management.AttributeList setAttributes(javax.management.AttributeList attrs)
setAttributes
in interface javax.management.DynamicMBean
attrs
- the list of attributes to insert into the current MBean
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |