Package com.saperion.config
Class SaJMXSystemProperties
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<java.lang.Object,java.lang.Object>
-
- java.util.Properties
-
- com.saperion.config.SaAbstractJMXProperties
-
- com.saperion.config.SaJMXSystemProperties
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.Object,java.lang.Object>
,javax.management.DynamicMBean
public class SaJMXSystemProperties extends SaAbstractJMXProperties
Defines the properties of a system property as MBean.
Implements the abstract classSaAbstractJMXProperties
.- Author:
- rbo
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.saperion.config.SaAbstractJMXProperties
CFG_FILE, PASSWORD_REPLACEMENT, PASSWORD_SUFFIX
-
-
Constructor Summary
Constructors Constructor Description SaJMXSystemProperties(java.lang.String configName)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.management.MBeanAttributeInfo[]
constructAttributes()
Construct attributes.protected javax.management.MBeanConstructorInfo[]
constructConstructors()
Construct constructors.protected javax.management.MBeanOperationInfo[]
constructOperations()
Construct Operations.protected java.lang.Object
handleInvoke(java.lang.String actionName, java.lang.Object[] params, java.lang.String[] signature)
Invoke handling.-
Methods inherited from class com.saperion.config.SaAbstractJMXProperties
getAttribute, getAttributes, getConfigStream, getMBeanInfo, invoke, isWriteable, register, setAttribute, setAttributes, setWriteable
-
Methods inherited from class java.util.Properties
clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, getProperty, getProperty, hashCode, isEmpty, keys, keySet, list, list, load, load, loadFromXML, merge, propertyNames, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
-
-
-
-
Method Detail
-
constructAttributes
protected javax.management.MBeanAttributeInfo[] constructAttributes()
Construct attributes.- Specified by:
constructAttributes
in classSaAbstractJMXProperties
- Returns:
- Attribute infos
- See Also:
SaAbstractJMXProperties.constructAttributes()
-
constructConstructors
protected javax.management.MBeanConstructorInfo[] constructConstructors()
Construct constructors.- Specified by:
constructConstructors
in classSaAbstractJMXProperties
- Returns:
- Constructor infos
- See Also:
SaAbstractJMXProperties.constructConstructors()
-
constructOperations
protected javax.management.MBeanOperationInfo[] constructOperations()
Construct Operations.- Specified by:
constructOperations
in classSaAbstractJMXProperties
- Returns:
- Operation infos
- See Also:
SaAbstractJMXProperties.constructOperations()
-
handleInvoke
protected java.lang.Object handleInvoke(java.lang.String actionName, java.lang.Object[] params, java.lang.String[] signature) throws javax.management.MBeanException, javax.management.ReflectionException
Invoke handling.- Specified by:
handleInvoke
in classSaAbstractJMXProperties
- Parameters:
actionName
- Action nameparams
- Parameterssignature
- Signatures- Returns:
- Handle object
- Throws:
javax.management.MBeanException
- MBeanExceptionjavax.management.ReflectionException
- ReflectionException- See Also:
SaAbstractJMXProperties.handleInvoke(java.lang.String, java.lang.Object[], java.lang.String[])
-
-