org.infinispan.util
Class ModuleProperties
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
org.infinispan.util.ModuleProperties
- All Implemented Interfaces:
- Serializable, Cloneable, Map<Object,Object>
public class ModuleProperties
- extends Properties
The ModuleProperties
class represents Infinispan's module configuration key value
pairs. Each Infinispan module is required to provide accompanying infinispan-module.properties in
module's jar. An instance of this class represents in-memory representation of
infinispan-module.properties file.
- Since:
- 4.0
- Author:
- Vladimir Blagojevic
- See Also:
- Serialized Form
Methods inherited from class java.util.Properties |
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames |
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
MODULE_PROPERTIES_FILENAME
public static final String MODULE_PROPERTIES_FILENAME
- See Also:
- Constant Field Values
MODULE_NAME_KEY
public static final String MODULE_NAME_KEY
- See Also:
- Constant Field Values
MODULE_CONFIGURATION_CLASS
public static final String MODULE_CONFIGURATION_CLASS
- See Also:
- Constant Field Values
MODULE_LIFECYCLE
public static final String MODULE_LIFECYCLE
- See Also:
- Constant Field Values
ModuleProperties
public ModuleProperties()
getResources
protected static Enumeration<URL> getResources(String filename)
throws IOException
- Throws:
IOException
loadModuleProperties
public static ModuleProperties loadModuleProperties(String moduleName)
throws IOException
- Throws:
IOException
resolveModuleLifecycles
public static List<ModuleLifecycle> resolveModuleLifecycles()
throws Exception
- Throws:
Exception
getName
public String getName()
getConfigurationClassName
public String getConfigurationClassName()
getLifecycleClassName
public String getLifecycleClassName()
verify
protected void verify()
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.