org.infinispan.util
Class ModuleProperties

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<Object,Object>
          extended by java.util.Properties
              extended by 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

Field Summary
static String MODULE_CONFIGURATION_CLASS
           
static String MODULE_LIFECYCLE
           
static String MODULE_NAME_KEY
           
static String MODULE_PROPERTIES_FILENAME
           
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
ModuleProperties()
           
 
Method Summary
 String getConfigurationClassName()
           
 String getLifecycleClassName()
           
 String getName()
           
protected static Enumeration<URL> getResources(String filename)
           
static ModuleProperties loadModuleProperties(String moduleName)
           
static List<ModuleLifecycle> resolveModuleLifecycles()
           
protected  void verify()
           
 
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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

ModuleProperties

public ModuleProperties()
Method Detail

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()

Google Analytics

Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.