Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.jk.common
Class ModJkMX.MBeanProxy  view ModJkMX.MBeanProxy download ModJkMX.MBeanProxy.java

java.lang.Object
  extended byorg.apache.commons.modeler.BaseModelMBean
      extended byorg.apache.jk.common.ModJkMX.MBeanProxy
All Implemented Interfaces:
javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.modelmbean.ModelMBean, javax.management.modelmbean.ModelMBeanNotificationBroadcaster, javax.management.NotificationBroadcaster, javax.management.PersistentMBean
Enclosing class:
ModJkMX

static class ModJkMX.MBeanProxy
extends org.apache.commons.modeler.BaseModelMBean

Use the same metadata, except that we replace the attribute get/set methods.


Field Summary
(package private)  java.util.HashMap atts
           
(package private)  java.util.List getAttNames
           
(package private)  ModJkMX jkmx
           
(package private)  java.lang.String jkName
           
private static org.apache.commons.logging.Log log
           
(package private)  java.util.List setAttNames
           
 
Fields inherited from class org.apache.commons.modeler.BaseModelMBean
attributeBroadcaster, attributes, generalBroadcaster, info, oname, registry, resource, resourceType, source
 
Constructor Summary
ModJkMX.MBeanProxy(ModJkMX jkmx)
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String name)
          Obtain and return the value of a specific attribute of this MBean.
(package private)  void init(java.lang.String name, java.util.List getters, java.util.List setters, java.util.List methods)
           
 java.lang.Object invoke(java.lang.String name, java.lang.Object[] params, java.lang.String[] signature)
          Invoke a particular method on this MBean, and return any returned value.
 void setAttribute(javax.management.Attribute attribute)
          Set the value of a specific attribute of this MBean.
private  void update(java.lang.String name, java.lang.String val)
           
 
Methods inherited from class org.apache.commons.modeler.BaseModelMBean
addAttributeChangeNotificationListener, addNotificationListener, createDefaultModelMBeanInfo, createResource, getAttributes, getClassName, getManagedResource, getMBeanInfo, getModelerType, getNotificationInfo, getObjectName, getRegistry, initModelInfo, isModelMBeanInfoValid, load, postDeregister, postRegister, preDeregister, preRegister, removeAttributeChangeNotificationListener, removeAttributeChangeNotificationListener, removeNotificationListener, removeNotificationListener, removeNotificationListener, sendAttributeChangeNotification, sendAttributeChangeNotification, sendNotification, sendNotification, setAttributes, setManagedResource, setModeledType, setModelMBeanInfo, setRegistry, store, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

private static org.apache.commons.logging.Log log

jkName

java.lang.String jkName

getAttNames

java.util.List getAttNames

setAttNames

java.util.List setAttNames

atts

java.util.HashMap atts

jkmx

ModJkMX jkmx
Constructor Detail

ModJkMX.MBeanProxy

public ModJkMX.MBeanProxy(ModJkMX jkmx)
                   throws java.lang.Exception
Method Detail

init

void init(java.lang.String name,
          java.util.List getters,
          java.util.List setters,
          java.util.List methods)
    throws java.lang.Exception

update

private void update(java.lang.String name,
                    java.lang.String val)

getAttribute

public java.lang.Object getAttribute(java.lang.String name)
                              throws javax.management.AttributeNotFoundException,
                                     javax.management.MBeanException,
                                     javax.management.ReflectionException
Description copied from class: org.apache.commons.modeler.BaseModelMBean
Obtain and return the value of a specific attribute of this MBean.


setAttribute

public void setAttribute(javax.management.Attribute attribute)
                  throws javax.management.AttributeNotFoundException,
                         javax.management.MBeanException,
                         javax.management.ReflectionException
Description copied from class: org.apache.commons.modeler.BaseModelMBean
Set the value of a specific attribute of this MBean.


invoke

public java.lang.Object invoke(java.lang.String name,
                               java.lang.Object[] params,
                               java.lang.String[] signature)
                        throws javax.management.MBeanException,
                               javax.management.ReflectionException
Description copied from class: org.apache.commons.modeler.BaseModelMBean
Invoke a particular method on this MBean, and return any returned value.

IMPLEMENTATION NOTE - This implementation will attempt to invoke this method on the MBean itself, or (if not available) on the managed resource object associated with this MBean.