org.glassfish.admin.amx.intf.config
Interface ConfigTools

All Superinterfaces:
AMX_SPI, AMXProxy, Singleton

Deprecated. Server-side helper methods for config MBeans.

@AMXMBeanMetadata(leaf=true,
                  singleton=true)
@Deprecated
public interface ConfigTools
extends AMXProxy, Singleton


Method Summary
 void clearProperties(ObjectName objectName)
          Deprecated.  
 void clearSystemProperties(ObjectName objectName)
          Deprecated.  
 String[] getConfigNamedTypes()
          Deprecated.  
 String[] getConfigResourceTypes()
          Deprecated.  
 void setProperties(ObjectName parent, List<Map<String,String>> props, boolean clearAll)
          Deprecated. Create Property sub-elements on the specified MBean, transactionally (all or none).
 void setSystemProperties(ObjectName parent, List<Map<String,String>> props, boolean clearAll)
          Deprecated. Create SystemProperty sub-elements, transactionally (all or none).
 Object test()
          Deprecated.  
 
Methods inherited from interface org.glassfish.admin.amx.core.AMXProxy
as, attributeNames, attributesMap, attributesMap, child, child, childrenMap, childrenMap, childrenMaps, childrenSet, extra, invokeOp, invokeOp, java, nameProp, objectName, parent, parentPath, path, type, valid
 
Methods inherited from interface org.glassfish.admin.amx.core.AMX_SPI
getChildren, getName, getParent
 

Method Detail

setProperties

@ManagedOperation(impact=1)
@Description(value="Create Property sub-elements, transactionally (all or none)")
void setProperties(@Description(value="Parent MBean in which the new elements should reside")@Param(name="parent")
                                                           ObjectName parent,
                                                           @Description(value="List of Maps, each Map keying Name/Value/Description")@Param(name="props")
                                                           List<Map<String,String>> props,
                                                           @Description(value="List of Maps, each Map keying Name/Value/Description")@Param(name="clearAll")
                                                           boolean clearAll)
Deprecated. 
Create Property sub-elements on the specified MBean, transactionally (all or none).

Each Map correspond to one property, and its keys should be Name/Value/Description, though the Description may be omitted.

Parameters:
parent - Parent MBean in which the new elements should reside
props - List of Maps, each Map keying Name/Value/Description
clearAll - whether to remove all existing properties first

clearProperties

@ManagedOperation(impact=1)
@Description(value="transactionally remove all \'property\' children")
void clearProperties(ObjectName objectName)
Deprecated. 

setSystemProperties

@ManagedOperation(impact=1)
@Description(value="Create SystemProperty sub-elements, transactionally (all or none)")
void setSystemProperties(@Description(value="Parent MBean in which the new elements should reside")@Param(name="parent")
                                                                 ObjectName parent,
                                                                 @Description(value="List of Maps, each Map keying Name/Value/Description")@Param(name="props")
                                                                 List<Map<String,String>> props,
                                                                 @Description(value="List of Maps, each Map keying Name/Value/Description")@Param(name="clearAll")
                                                                 boolean clearAll)
Deprecated. 
Create SystemProperty sub-elements, transactionally (all or none).

Each Map correspond to one property, and its keys should be Name/Value/Description, though the Description may be omitted.

Parameters:
parent - Parent MBean in which the new elements should reside
props - List of Maps, each Map keying Name/Value/Description
clearAll - whether to remove all existing properties first

clearSystemProperties

@ManagedOperation(impact=1)
@Description(value="remove all \'system-property\' children")
void clearSystemProperties(ObjectName objectName)
Deprecated. 

getConfigNamedTypes

@ManagedAttribute
@Description(value="return all element types that are Named")
String[] getConfigNamedTypes()
Deprecated. 

getConfigResourceTypes

@ManagedAttribute
@Description(value="return all element types that are Resource")
String[] getConfigResourceTypes()
Deprecated. 

test

@ManagedOperation(impact=1)
Object test()
Deprecated. 


Copyright © 2012 GlassFish Community. All Rights Reserved.