Package com.saperion.config
Class SaJMXStreamProperties
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
com.saperion.config.SaAbstractJMXProperties
com.saperion.config.SaJMXStreamProperties
- All Implemented Interfaces:
Serializable,Cloneable,Map<Object,,Object> DynamicMBean
- Direct Known Subclasses:
SaJMXXMLProperties
Defines the properties of a configuration stream 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
ConstructorsModifierConstructorDescriptionprotectedSaJMXStreamProperties(String configName) Constructor.SaJMXStreamProperties(String configName, InputStream in) Constructor. -
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
-
SaJMXStreamProperties
Constructor.- Parameters:
configName- Config namein- Property inputStream- Throws:
IOException- IOException
-
SaJMXStreamProperties
Constructor.- Parameters:
configName- Config name
-
-
Method Details
-
constructAttributes
Construct attributes.- Specified by:
constructAttributesin classSaAbstractJMXProperties- Returns:
- Attribute infos
- See Also:
-
constructConstructors
Construct constructors.- Specified by:
constructConstructorsin classSaAbstractJMXProperties- Returns:
- Constructor infos
- See Also:
-
constructOperations
Construct Operations.- Specified by:
constructOperationsin classSaAbstractJMXProperties- Returns:
- Operation 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:
-