Package com.saperion.config
Class SaJMXBackendProperties
- 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.SaJMXBackendProperties
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.util.Map<java.lang.Object,java.lang.Object>
,javax.management.DynamicMBean
public class SaJMXBackendProperties extends SaAbstractJMXProperties
Represents the Saperion backend properties asDynamicMBean
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 SaJMXBackendProperties(SaRMISystemCommand systemCommands, java.lang.String section, java.util.Properties properties)
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.void
setAttribute(javax.management.Attribute attribute)
-
Methods inherited from class com.saperion.config.SaAbstractJMXProperties
getAttribute, getAttributes, getConfigStream, getMBeanInfo, invoke, isWriteable, register, 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
-
-
-
-
Constructor Detail
-
SaJMXBackendProperties
public SaJMXBackendProperties(SaRMISystemCommand systemCommands, java.lang.String section, java.util.Properties properties) throws java.rmi.RemoteException
Constructor.- Parameters:
systemCommands
- System commandssection
- Section nameproperties
- Properties- Throws:
java.rmi.RemoteException
- Exception
-
-
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[])
-
setAttribute
public void setAttribute(javax.management.Attribute attribute) throws javax.management.AttributeNotFoundException, javax.management.InvalidAttributeValueException, javax.management.MBeanException, javax.management.ReflectionException
- Specified by:
setAttribute
in interfacejavax.management.DynamicMBean
- Overrides:
setAttribute
in classSaAbstractJMXProperties
- Throws:
javax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionException
- See Also:
SaAbstractJMXProperties.setAttribute(javax.management.Attribute)
-
-