Package org.infinispan.commons.util
Class Features
- java.lang.Object
-
- org.infinispan.commons.util.Features
-
public class Features extends Object
Features allow conditional enabling/disabling of Infinispan's functionality. They are represented as named properties of the form 'org.infinispan.feature.*' and can either be set via one or more 'META-INF/infinispan-features.properties' file on the classpath or by setting a system property, e.g. -Dorg.infinispan.feature.A=true
-
-
Field Summary
Fields Modifier and Type Field Description static String
FEATURE_PREFIX
-
Constructor Summary
Constructors Constructor Description Features()
Features(ClassLoader classLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAvailable(String featureName)
-
-
-
Field Detail
-
FEATURE_PREFIX
public static final String FEATURE_PREFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Features
public Features(ClassLoader classLoader)
-
Features
public Features()
-
-
Method Detail
-
isAvailable
public boolean isAvailable(String featureName)
-
-