org.glassfish.admin.amx.impl.config
Class ConfigToolsImpl

java.lang.Object
  extended by org.glassfish.admin.amx.impl.mbean.MBeanImplBase
      extended by org.glassfish.admin.amx.impl.mbean.AMXImplBase
          extended by org.glassfish.admin.amx.impl.config.ConfigToolsImpl
All Implemented Interfaces:
javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, AMX_SPI, NotificationSender

public class ConfigToolsImpl
extends AMXImplBase

TODO: fix the duplication of code for Property/SystemProperty by refactoring the config bean interfaces.


Field Summary
 
Fields inherited from class org.glassfish.admin.amx.impl.mbean.AMXImplBase
EMPTY_OBJECT_NAMES, GET, GET_PREFIX, mMBeanInfo, OBJECT_NAME_SUFFIX, SET
 
Fields inherited from class org.glassfish.admin.amx.impl.mbean.MBeanImplBase
EMPTY_STRING_ARRAY, mSelfObjectName, mServer
 
Constructor Summary
ConfigToolsImpl(javax.management.ObjectName parent)
           
 
Method Summary
 void clearProperties(javax.management.ObjectName parent)
           
 void clearSystemProperties(javax.management.ObjectName parent)
           
 java.lang.String[] getConfigNamedTypes()
           
 java.lang.String[] getConfigResourceTypes()
           
 void setProperties(javax.management.ObjectName parent, java.util.List<java.util.Map<java.lang.String,java.lang.String>> props, boolean clearAll)
           
 void setSystemProperties(javax.management.ObjectName parent, java.util.List<java.util.Map<java.lang.String,java.lang.String>> props, boolean clearAll)
           
 java.lang.Object test()
           
 
Methods inherited from class org.glassfish.admin.amx.impl.mbean.AMXImplBase
attributeNameToType, attributeTypeMatches, cdebug, child, child, child, findGetter, findMethod, findSetter, getAncestorByType, getAttribute, getAttributeByMethod, getAttributeInfo, getAttributeInfos, getAttributeInternal, getAttributeManually, getAttributeNames, getAttributeNoThrow, getAttributes, getAttributeType, getChildren, getChildren, getChildren, getChildren, getChildrenMap, getDomainRoot, getDomainRootProxy, getLogger, getMBeanInfo, getMBeanTracker, getName, getNotificationInfo, getObjectNameAttribute, getObjectNames, getObjectNamesForAttribute, getParent, getParentProxy, getProxy, getProxyFactory, getSelf, getSelf, getterNameMatches, handleException, handleGetAttributeException, handleInvokeThrowable, impossible, invoke, invokeManually, isReadOnlyAttribute, isUtilityMBean, java, operationNameMatches, postRegisterHook, postRegisterModifyMBeanInfo, preDeregisterHook, preRegister, preRegisterDone, preRegisterHook, preRegisterModifyName, registerChild, registerChildren, sendAttributeChangeNotification, setAttribute, setAttributeByMethod, setAttributeInternal, setAttributeManually, setAttributes, shouldEmitNotifications, stringify, supportsChildren, toString, unimplementedAttribute, unimplementedOperation, unregisterChildren
 
Methods inherited from class org.glassfish.admin.amx.impl.mbean.MBeanImplBase
_getMBeanLogLevel, addNotificationListener, addNotificationListener, createNotificationBuilder, debug, debug, debugMethod, debugMethod, enableAMXDebug, getAMXDebug, getDebugID, getDebugOutput, getJMXDomain, getListenerCount, getMBeanLogger, getMBeanLoggerName, getMBeanLogLevel, getMBeanLogLevelInt, getMBeanServer, getNotificationBuilder, getNotificationEmitter, getNotificationTypeListenerCount, getObjectName, logFine, logFiner, logFinest, logInfo, logSevere, logWarning, postDeregister, postDeregisterHook, postRegister, preDeregister, quote, removeNotificationListener, removeNotificationListener, sendNotification, sendNotification, sendNotification, sendNotification, setAMXDebug, setMBeanLogLevel, shouldOmitObjectNameForDebug, sleepMillis, toString, trace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister
 
Methods inherited from interface javax.management.NotificationEmitter
removeNotificationListener
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, removeNotificationListener
 

Constructor Detail

ConfigToolsImpl

public ConfigToolsImpl(javax.management.ObjectName parent)
Method Detail

test

public java.lang.Object test()

setProperties

public void setProperties(javax.management.ObjectName parent,
                          java.util.List<java.util.Map<java.lang.String,java.lang.String>> props,
                          boolean clearAll)

clearProperties

public void clearProperties(javax.management.ObjectName parent)

clearSystemProperties

public void clearSystemProperties(javax.management.ObjectName parent)

setSystemProperties

public void setSystemProperties(javax.management.ObjectName parent,
                                java.util.List<java.util.Map<java.lang.String,java.lang.String>> props,
                                boolean clearAll)

getConfigNamedTypes

public java.lang.String[] getConfigNamedTypes()

getConfigResourceTypes

public java.lang.String[] getConfigResourceTypes()


Copyright © 2012 GlassFish Community. All Rights Reserved.