Package com.saperion.config
Class SaJMXFileProperties
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
com.saperion.config.SaAbstractJMXProperties
com.saperion.config.SaJMXFileProperties
- All Implemented Interfaces:
Serializable,Cloneable,Map<Object,,Object> DynamicMBean
Defines the properties of a configuration file as MBean.
Implements the abstract class
Implements the abstract class
SaAbstractJMXProperties.- Author:
- rbo
- See Also:
-
Field Summary
Fields inherited from class com.saperion.config.SaAbstractJMXProperties
CFG_FILE, PASSWORD_REPLACEMENT, PASSWORD_SUFFIXFields inherited from class java.util.Properties
defaults -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MBeanAttributeInfo[]Construct attributes.protected MBeanConstructorInfo[]Construct constructors.protected MBeanOperationInfo[]Construct Operations.protected ObjecthandleInvoke(String actionName, Object[] params, String[] signature) Invoke handling.Methods inherited from class com.saperion.config.SaAbstractJMXProperties
getAttribute, getAttributes, getConfigStream, getMBeanInfo, invoke, isWriteable, register, setAttribute, setAttributes, setWriteableMethods 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
-
Constructor Details
-
SaJMXFileProperties
Constructor.- Parameters:
configName- Config nameconfigFile- Config file- Throws:
IOException- Exception
-
-
Method Details
-
constructAttributes
Construct attributes.- Specified by:
constructAttributesin classSaAbstractJMXProperties- Returns:
- Attribute infos
- See Also:
-
constructOperations
Construct Operations.- Specified by:
constructOperationsin classSaAbstractJMXProperties- Returns:
- Operation infos
- See Also:
-
constructConstructors
Construct constructors.- Specified by:
constructConstructorsin classSaAbstractJMXProperties- Returns:
- Constructor infos
- See Also:
-
handleInvoke
protected Object handleInvoke(String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException Invoke handling.- Specified by:
handleInvokein classSaAbstractJMXProperties- Parameters:
actionName- Action nameparams- Parameterssignature- Signatures- Returns:
- Handle object
- Throws:
MBeanException- MBeanExceptionReflectionException- ReflectionException- See Also:
-