DODS 7.2 API

org.enhydra.dods.util
Class DODSMBeans.TableMBean

java.lang.Object
  extended by javax.management.NotificationBroadcasterSupport
      extended by org.enhydra.util.AbsConfigMBean
          extended by org.enhydra.dods.util.DODSConfigMBean
              extended by org.enhydra.dods.util.DODSMBeans.TableMBean
All Implemented Interfaces:
javax.management.DynamicMBean, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter
Enclosing class:
DODSMBeans

public class DODSMBeans.TableMBean
extends DODSConfigMBean


Field Summary
protected  ConfigurationAdministration cfgAdmin
           
protected  java.lang.String dbName
           
protected  int levelOfCaching
           
protected  java.lang.Class tableClass
           
protected  java.lang.String tableName
           
 
Fields inherited from class org.enhydra.util.AbsConfigMBean
addedAttributes, config, dClassName, dMBeanInfo, DOT, hashAttrib, initHashAttrib, logChannel, noteTypesAdd, noteTypesChange, noteTypesRemove, noteTypesReset, noteTypesSave, objectName, prefix, sequence
 
Constructor Summary
DODSMBeans.TableMBean(java.lang.String dbName, java.lang.Class tableClass, com.lutris.util.Config conf, javax.management.ObjectName objectName)
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String attribute_name)
          Allows the value of the specified attribute of the Dynamic MBean to be obtained.
 java.lang.String getDbName()
           
protected  javax.management.MBeanAttributeInfo[] getMBeanAttributesInfo()
          Method returns MBean's MBeanAttributeInfo Array
protected  javax.management.MBeanConstructorInfo[] getMBeanConstructorInfo()
          Method returns MBean's MBeanConstructorInfo Array
protected  javax.management.MBeanOperationInfo[] getMBeanOperationsInfo()
          Method returns MBean's MBeanOperationInfo Array
 java.lang.String getTableName()
           
 java.lang.Object invoke(java.lang.String operationName, java.lang.Object[] params, java.lang.String[] signature)
          Allows an operation to be invoked on the Dynamic MBean.
 void reset()
          Operation: reset attributes to their initial values
 void setAttribute(javax.management.Attribute attribute)
          Sets the value of the specified attribute of the Dynamic MBean.
 
Methods inherited from class org.enhydra.dods.util.DODSConfigMBean
buildDynamicMBeanInfo, init
 
Methods inherited from class org.enhydra.util.AbsConfigMBean
addAttribute, getAttributes, getDescription, getMBeanInfo, getMBeanNotificationInfo, initConfig, removeAttribute, saveAttributes, setAttributes, toOriginal, toValidIdentifier
 
Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tableName

protected java.lang.String tableName

dbName

protected java.lang.String dbName

tableClass

protected java.lang.Class tableClass

cfgAdmin

protected ConfigurationAdministration cfgAdmin

levelOfCaching

protected int levelOfCaching
Constructor Detail

DODSMBeans.TableMBean

public DODSMBeans.TableMBean(java.lang.String dbName,
                             java.lang.Class tableClass,
                             com.lutris.util.Config conf,
                             javax.management.ObjectName objectName)
Method Detail

getAttribute

public java.lang.Object getAttribute(java.lang.String attribute_name)
                              throws javax.management.AttributeNotFoundException,
                                     javax.management.MBeanException,
                                     javax.management.ReflectionException
Allows the value of the specified attribute of the Dynamic MBean to be obtained.

Specified by:
getAttribute in interface javax.management.DynamicMBean
Overrides:
getAttribute in class org.enhydra.util.AbsConfigMBean
Throws:
javax.management.AttributeNotFoundException
javax.management.MBeanException
javax.management.ReflectionException

setAttribute

public void setAttribute(javax.management.Attribute attribute)
                  throws javax.management.AttributeNotFoundException,
                         javax.management.InvalidAttributeValueException,
                         javax.management.MBeanException,
                         javax.management.ReflectionException
Sets the value of the specified attribute of the Dynamic MBean.

Specified by:
setAttribute in interface javax.management.DynamicMBean
Overrides:
setAttribute in class org.enhydra.util.AbsConfigMBean
Throws:
javax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionException

getMBeanConstructorInfo

protected javax.management.MBeanConstructorInfo[] getMBeanConstructorInfo()
Method returns MBean's MBeanConstructorInfo Array

Overrides:
getMBeanConstructorInfo in class DODSConfigMBean
Returns:
MBeanConstructorInfo[]

getMBeanAttributesInfo

protected javax.management.MBeanAttributeInfo[] getMBeanAttributesInfo()
Method returns MBean's MBeanAttributeInfo Array

Overrides:
getMBeanAttributesInfo in class org.enhydra.util.AbsConfigMBean
Returns:
MBeanAttributeInfo[]

invoke

public java.lang.Object invoke(java.lang.String operationName,
                               java.lang.Object[] params,
                               java.lang.String[] signature)
                        throws javax.management.MBeanException,
                               javax.management.ReflectionException
Allows an operation to be invoked on the Dynamic MBean.

Specified by:
invoke in interface javax.management.DynamicMBean
Overrides:
invoke in class DODSConfigMBean
Throws:
javax.management.MBeanException
javax.management.ReflectionException

getMBeanOperationsInfo

protected javax.management.MBeanOperationInfo[] getMBeanOperationsInfo()
Method returns MBean's MBeanOperationInfo Array

Overrides:
getMBeanOperationsInfo in class DODSConfigMBean
Returns:
MBeanOperationInfo[]

reset

public void reset()
           throws javax.management.AttributeNotFoundException
Operation: reset attributes to their initial values

Overrides:
reset in class org.enhydra.util.AbsConfigMBean
Throws:
javax.management.AttributeNotFoundException

getTableName

public java.lang.String getTableName()

getDbName

public java.lang.String getDbName()

DODS 7.2 API