Class PropertyFormatter
- java.lang.Object
-
- org.infinispan.configuration.format.PropertyFormatter
-
public final class PropertyFormatter extends java.lang.Object
Extracts the configuration into flat key-value property structure by reflection.- Since:
- 6.0
- Author:
- Michal Linhard (mlinhard@redhat.com)
-
-
Constructor Summary
Constructors Constructor Description PropertyFormatter()
Create a new PropertyFormatter instance.PropertyFormatter(java.lang.String globalConfigPrefix, java.lang.String configPrefix)
Create a new PropertyFormatter instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Properties
format(Configuration configuration)
java.util.Properties
format(GlobalConfiguration configuration)
-
-
-
Constructor Detail
-
PropertyFormatter
public PropertyFormatter()
Create a new PropertyFormatter instance.
-
PropertyFormatter
public PropertyFormatter(java.lang.String globalConfigPrefix, java.lang.String configPrefix)
Create a new PropertyFormatter instance.- Parameters:
globalConfigPrefix
- Prefix used for global configuration property keys.configPrefix
- Prefix used for cache configuration property keys.
-
-
Method Detail
-
format
public java.util.Properties format(Configuration configuration)
-
format
public java.util.Properties format(GlobalConfiguration configuration)
-
-