Package com.saperion.config
Class SaJMXBackendProperties
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
com.saperion.config.SaAbstractJMXProperties
com.saperion.config.SaJMXBackendProperties
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<Object,
,Object> DynamicMBean
Represents the Saperion backend properties as
Implements the abstract class
DynamicMBean
MBean. Implements the abstract class
SaAbstractJMXProperties
.- Author:
- rbo
- See Also:
-
Field Summary
Fields inherited from class com.saperion.config.SaAbstractJMXProperties
CFG_FILE, PASSWORD_REPLACEMENT, PASSWORD_SUFFIX
Fields inherited from class java.util.Properties
defaults
-
Constructor Summary
ConstructorsConstructorDescriptionSaJMXBackendProperties
(SaRMISystemCommand systemCommands, String section, Properties properties) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected MBeanAttributeInfo[]
Construct attributes.protected MBeanConstructorInfo[]
Construct constructors.protected MBeanOperationInfo[]
Construct Operations.protected Object
handleInvoke
(String actionName, Object[] params, String[] signature) Invoke handling.void
setAttribute
(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 Details
-
SaJMXBackendProperties
public SaJMXBackendProperties(SaRMISystemCommand systemCommands, String section, Properties properties) throws RemoteException Constructor.- Parameters:
systemCommands
- System commandssection
- Section nameproperties
- Properties- Throws:
RemoteException
- Exception
-
-
Method Details
-
constructAttributes
Construct attributes.- Specified by:
constructAttributes
in classSaAbstractJMXProperties
- Returns:
- Attribute infos
- See Also:
-
constructConstructors
Construct constructors.- Specified by:
constructConstructors
in classSaAbstractJMXProperties
- Returns:
- Constructor infos
- See Also:
-
constructOperations
Construct Operations.- Specified by:
constructOperations
in classSaAbstractJMXProperties
- Returns:
- Operation infos
- See Also:
-
handleInvoke
protected Object handleInvoke(String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException Invoke handling.- Specified by:
handleInvoke
in classSaAbstractJMXProperties
- Parameters:
actionName
- Action nameparams
- Parameterssignature
- Signatures- Returns:
- Handle object
- Throws:
MBeanException
- MBeanExceptionReflectionException
- ReflectionException- See Also:
-
setAttribute
public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException - Specified by:
setAttribute
in interfaceDynamicMBean
- Overrides:
setAttribute
in classSaAbstractJMXProperties
- Throws:
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
- See Also:
-