Package org.openspaces.admin.bean
Interface BeanConfig
- All Known Subinterfaces:
AlertConfiguration
- All Known Implementing Classes:
CpuUtilizationAlertConfiguration,GarbageCollectionAlertConfiguration,HeapMemoryUtilizationAlertConfiguration,MirrorPersistenceFailureAlertConfiguration,PhysicalMemoryUtilizationAlertConfiguration,ProcessingUnitInstanceMemberAliveIndicatorAlertConfiguration,ProvisionFailureAlertConfiguration,ReplicationChannelDisconnectedAlertConfiguration,ReplicationRedoLogOverflowToDiskAlertConfiguration,ReplicationRedoLogSizeAlertConfiguration,SpacePartitionSplitBrainAlertConfiguration
public interface BeanConfig
A weakly typed configuration API based on String key-value pairs to configure an admin
Bean. Implementors of this interface can provide more strongly typed API to enforce
type-safety and argument verifications.
The BeanConfig is a client side
configuration. The String key-value pairs returned by the getProperties() method, are
sent to the server to be injected into the admin Bean matching the bean class-name.
By default, the configuration is empty - has no properties set. The recommended setting for the configuration properties should be derived from the javadoc.
- Since:
- 8.0
- Author:
- Moran Avigdor, Itai Frenkel
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionTheBeanimplementation class name corresponding to this BeanConfig.Get the String key-value pairs properties used to configure this bean.voidsetProperties(Map<String, String> properties) Set with String key-value pairs to configure properties belonging to this bean.
-
Method Details
-
getBeanClassName
String getBeanClassName()TheBeanimplementation class name corresponding to this BeanConfig.- Returns:
- the name of the admin Bean implementation class.
-
setProperties
Set with String key-value pairs to configure properties belonging to this bean. Overrides all previously set properties.- Parameters:
properties- the properties to configure this bean object.
-
getProperties
Get the String key-value pairs properties used to configure this bean.- Returns:
- the properties used to configure this bean object.
-