|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--javax.management.modelmbean.RequiredModelMBean
|
+--com.adventnet.adaptors.snmp.RequiredModelMBeanExt
| Inner classes inherited from class javax.management.modelmbean.RequiredModelMBean |
RequiredModelMBean.UpdateTimer |
| Fields inherited from class javax.management.modelmbean.RequiredModelMBean |
adsValueTable,
attrbroadcaster,
attrFilterMapTable,
clazz,
confDirName,
confFile,
confFileName,
confFileTable,
mbeanInfo,
notifbroadcaster,
notiffields1,
notiffields2,
object,
objectType,
prints,
registered |
| Constructor Summary | |
RequiredModelMBeanExt()
Constructs an RequiredModelMBeanExt with an empty ModelMBeanInfo. |
|
RequiredModelMBeanExt(ModelMBeanInfo mbi)
Constructs a RequiredModelMBeanExt object using ModelMBeanInfo passed in. |
|
| Method Summary | |
java.lang.Object |
invoke(java.lang.String actionName,
java.lang.Object[] params,
java.lang.String[] signature)
Invokes a method on or through a RequiredModelMBean and returns the result of the method execution. |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public RequiredModelMBeanExt()
throws MBeanException,
RuntimeOperationsException
public RequiredModelMBeanExt(ModelMBeanInfo mbi)
throws MBeanException,
RuntimeOperationsException
mbi - The ModelMBeanInfo object to be used by the RequiredModelMBeanExt.| Method Detail |
public java.lang.Object invoke(java.lang.String actionName,
java.lang.Object[] params,
java.lang.String[] signature)
throws MBeanException,
ReflectionException
If the given method to be invoked, together with the provided signature, matches one of RequiredModelMbean accessible methods, this one will be call. Otherwise the call to the given method will be tried on the managed ressource.
The last value returned by an operation may be cached in the operation's descriptor which is in the ModelMBeanOperationInfo's descriptor. The valid value will be in the 'value' field if there is one. If the 'currencyTimeLimit' field in the descriptor is:
opName - The name of the method to be invoked. The name can be the
fully qualified method name including the classname, or just
the method name if the classname is defined in the 'class'
field of the operation descriptor.opArgs - An array containing the parameters to be set
when the operation is invokedsig - An array containing the signature of the operation. The class
objects will be loaded using the same class loader as the one
used for loading the MBean on which the operation was invoked.ServiceNotFoundException: No ModelMBeanOperationInfo or
no descriptor defined for the specified operation or the managed
resource is null.InvalidTargetObjectTypeException: The 'targetType'
field value is not 'objectReference'.Exception
thrown while trying to invoke the method.IllegalArgumentException Method name is null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||