|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable
org.productivity.java.habitat4j.common.AbstractPropertyListManager
org.productivity.java.habitat4j.PropertyListManager
public class PropertyListManager
PropertyListManager provides access to application-wide properties that are loaded contextually based on information gained from the ServerIdentityManager.
The use of Habitat4J starts with the initialization of this Singleton class by your application using the initialize method.
PropertyListManager can manage one or more lists, accessed by a PropertyList symbolic name.
## LICENSE INFORMATION ##
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
| Field Summary |
|---|
| Fields inherited from class org.productivity.java.habitat4j.common.AbstractPropertyListManager |
|---|
logger |
| Method Summary | |
|---|---|
static void |
addGlobalDecoderDefinition(java.lang.String id,
java.lang.Class decoderClass)
|
static void |
addGlobalDecoderDefinition(java.lang.String id,
java.lang.Object decoderObject)
|
static void |
addGlobalDecryptorDefinition(java.lang.String id,
java.lang.Object decryptorObject)
|
static void |
addGlobalDecrytorDefinition(java.lang.String id,
java.lang.Class decryptorClass)
|
static void |
addGlobalPropertyBeanDefinition(java.lang.String id,
java.lang.Class propertyBeanClass)
|
static void |
addReloadablePropertyList(java.lang.String propertyListName)
|
static void |
clearReloadablePropertyLists()
|
static java.util.Enumeration |
getProperties()
This method returns an Enumeration of properties for the default PropertyList. |
static java.util.Enumeration |
getProperties(java.lang.String propertyListName)
This method returns an Enumeration of properties for a particular PropertyList. |
static java.lang.String |
getProperty(java.lang.String name)
This method is used to obtain a property's String value from the default PropertyList. |
static java.lang.String |
getProperty(java.lang.String propertyListName,
java.lang.String name)
This method is used to obtain properties from a particular PropertyList. |
static java.lang.String[] |
getPropertyArray(java.lang.String name)
This method is used to obtain a property's array of String values from the default PropertyList. |
static java.lang.String[] |
getPropertyArray(java.lang.String propertyListName,
java.lang.String name)
This method is used to obtain a property's array of String values from a particular PropertyList. |
static int |
getPropertyAsInt(java.lang.String name)
This method is used to obtain a property's primitive int value from the default PropertyList. |
static int |
getPropertyAsInt(java.lang.String propertyListName,
java.lang.String name)
This method is used to obtain a property's primitive int value from a particular PropertyList. |
static java.lang.Object |
getPropertyBean(java.lang.String name)
This method is used to obtain a PropertyBean Object from the default PropertyList. |
static java.lang.Object |
getPropertyBean(java.lang.String propertyListName,
java.lang.String name)
This method is used to obtain a PropertyBean Object from a particular PropertyList. |
static java.lang.Object[] |
getPropertyBeanArray(java.lang.String name)
This method is used to obtain a property's array of PropertyBean Objects from the default PropertyList. |
static java.lang.Object[] |
getPropertyBeanArray(java.lang.String propertyListName,
java.lang.String name)
This method is used to obtain a property's array of PropertyBean Objects from a particular PropertyList. |
static java.lang.Object[] |
getPropertyBeanArrayCopy(java.lang.String name)
This method is used to obtain a copy (clone) of a property's array of PropertyBean Objects from the default PropertyList. |
static java.lang.Object[] |
getPropertyBeanArrayCopy(java.lang.String propertyListName,
java.lang.String name)
This method is used to obtain a copy (clone) of a property's array of PropertyBean Objects from a particular PropertyList. |
static java.lang.Object |
getPropertyBeanCopy(java.lang.String name)
This method is used to obtain a PropertyBean Object from the default PropertyList. |
static java.lang.Object |
getPropertyBeanCopy(java.lang.String propertyListName,
java.lang.String name)
This method is used to obtain a PropertyBean Object from a particular PropertyList. |
static PropertyBeanHash |
getPropertyBeanHash(java.lang.String name)
This method is used to obtain a property's hash of PropertyBean Objects from the default PropertyList. |
static PropertyBeanHash |
getPropertyBeanHash(java.lang.String propertyListName,
java.lang.String name)
This method is used to obtain a property's hash of PropertyBean Objects from a particular PropertyList. |
static PropertyBeanHash |
getPropertyBeanHashCopy(java.lang.String name)
This method is used to obtain a copy (clone) of a property's hash of PropertyBean Objects from the default PropertyList. |
static PropertyBeanHash |
getPropertyBeanHashCopy(java.lang.String propertyListName,
java.lang.String name)
This method is used to obtain a copy (clone) of a property's hash of PropertyBean Objects from a particular PropertyList. |
static java.lang.Object |
getPropertyBeanHashValue(java.lang.String name,
java.lang.String key)
This method is used to obtain a specific hash value from a PropertyHash in the default PropertyList. |
static java.lang.Object |
getPropertyBeanHashValue(java.lang.String propertyListName,
java.lang.String name,
java.lang.String key)
This method is used to obtain a specific hash value from a PropertyHash in a particular PropertyList. |
static java.lang.Object |
getPropertyBeanHashValueCopy(java.lang.String name,
java.lang.String key)
This method is used to obtain a copy (clone) of a PropertyBean Object from a property hash in the default PropertyList. |
static java.lang.Object |
getPropertyBeanHashValueCopy(java.lang.String propertyListName,
java.lang.String name,
java.lang.String key)
This method is used to obtain a copy (clone) of a PropertyBean Object from a property hash in a particular PropertyList. |
static java.lang.Class |
getPropertyClass(java.lang.String name)
This method gets a property's class from the default PropertyList. |
static java.lang.Class |
getPropertyClass(java.lang.String propertyListName,
java.lang.String name)
This method gets a property's class from a particular PropertyList. |
static java.lang.String |
getPropertyClassName(java.lang.String name)
This method gets a property's class name from the default PropertyList. |
static java.lang.String |
getPropertyClassName(java.lang.String propertyListName,
java.lang.String name)
This method gets a property's class name from a particular PropertyList. |
static PropertyHash |
getPropertyHash(java.lang.String name)
This method is used to obtain a property's hash of String values from the default PropertyList. |
static PropertyHash |
getPropertyHash(java.lang.String propertyListName,
java.lang.String name)
This method is used to obtain a property's hash of String values from a particular PropertyList. |
static java.util.Properties |
getPropertyHashAsJavaProperties(java.lang.String name)
This method returns a java.util.Properties object derived from the hash of String values in a PropertyHash from the default PropertyList. |
static java.util.Properties |
getPropertyHashAsJavaProperties(java.lang.String propertyListName,
java.lang.String name)
This method returns a java.util.Properties object derived from the hash of String values in a PropertyHash from the default PropertyList. |
static java.lang.String |
getPropertyHashValue(java.lang.String name,
java.lang.String key)
This method is used to obtain a String value from a PropertyHash in a particular PropertyList. |
static java.lang.String |
getPropertyHashValue(java.lang.String propertyListName,
java.lang.String name,
java.lang.String key)
This method is used to obtain a String value from a PropertyHash in a particular PropertyList. |
static PropertyList |
getPropertyList()
This method returns the default PropertyList instance. |
static PropertyList |
getPropertyList(java.lang.String propertyListName)
This method returns a particular PropertyList instance. |
static PropertyListManager |
getPropertyListManager()
This method returns the singleton instance of PropertyListManager. |
static java.lang.String |
getPropertyListModifiedBy()
This method returns the "modified by" of the default PropertyList. |
static java.lang.String |
getPropertyListModifiedBy(java.lang.String propertyListName)
This method returns the "modified by" of the PropertyList. |
static int |
getPropertyListReloadSerial()
This method returns the reload serial enumeration of the default PropertyList. |
static int |
getPropertyListReloadSerial(java.lang.String propertyListName)
This method returns the reload serial enumeration of a particular PropertyList. |
static java.lang.String |
getPropertyListVersion()
This method returns the version of the default PropertyList. |
static java.lang.String |
getPropertyListVersion(java.lang.String propertyListName)
This method returns the version of the PropertyList. |
static ServerIdentity |
getServerIdentity()
This method returns the one and only ServerIdentity instance. |
static void |
inhibitReload()
This method forces Habitat4J to inhibit all reload actions. |
static void |
inhibitReload(long expiration)
This method forces Habitat4J to inhibit all reload actions. |
static PropertyListManager |
initialize(java.lang.String applicationName)
This method initializes the PropertyListManager singleton object. |
static PropertyListManager |
initialize(java.lang.String applicationName,
java.lang.String mode)
|
static PropertyListManager |
initialize(java.lang.String applicationName,
java.lang.String mode,
ServerIdentityXMLMap map)
This method initializes the PropertyListManager singleton object. |
static boolean |
isInitialized()
This method returns whether this singleton instance of PropertyListManager is initialized for the default PropertyList. |
static boolean |
isInitialized(java.lang.String propertyListName)
This method returns whether this singleton instance of PropertyListManager is initialized for a particular Propertylist. |
static boolean |
isPropertyABean(java.lang.String name)
This method returns whether a property contains an instance of a PropertyBean Object. |
static boolean |
isPropertyABean(java.lang.String propertyListName,
java.lang.String name)
This method returns whether a property contains an instance of a PropertyBean Object. |
static boolean |
isPropertyABeanArray(java.lang.String name)
This method returns whether a property contains an array of PropertyBean Objects. |
static boolean |
isPropertyABeanArray(java.lang.String propertyListName,
java.lang.String name)
This method returns whether a property contains an array of PropertyBean Objects. |
static boolean |
isPropertyABeanHash(java.lang.String name)
This method returns whether a property contains a hash of PropertyBean Objects. |
static boolean |
isPropertyABeanHash(java.lang.String propertyListName,
java.lang.String name)
This method returns whether a property contains an hash of PropertyBean Objects. |
static boolean |
isPropertyAHash(java.lang.String name)
This method returns whether a property from the default PropertyList contains a hash of String values. |
static boolean |
isPropertyAHash(java.lang.String propertyListName,
java.lang.String name)
This method returns whether a property from a particular PropertyList contains a hash of String values. |
static boolean |
isPropertyAnArray(java.lang.String name)
This method returns whether a property from the default PropertyList contains an array of String values. |
static boolean |
isPropertyAnArray(java.lang.String propertyListName,
java.lang.String name)
This method returns whether a property from a particular PropertyList contains an array of String values. |
static boolean |
isPropertyAString(java.lang.String name)
This method returns whether a property contains a String value. |
static boolean |
isPropertyAString(java.lang.String propertyListName,
java.lang.String name)
This method returns whether a property contains a String value. |
static boolean |
isPropertyHashValueSet(java.lang.String name,
java.lang.String key)
This method is used to indicate whether a PropertyHash value is set in the default PropertyList. |
static boolean |
isPropertyHashValueSet(java.lang.String propertyListName,
java.lang.String name,
java.lang.String key)
This method is used to indicate whether a PropertyHash value is set for a particular PropertyList. |
static boolean |
isPropertyTrue(java.lang.String name)
This method is used to obtain a property's primitive boolean value from the default PropertyList. |
static boolean |
isPropertyTrue(java.lang.String propertyListName,
java.lang.String name)
This method is used to obtain a property's primitive boolean value from a particular PropertyList. |
static boolean |
isReloadablePropertyList(java.lang.String propertyListName)
|
static void |
loadPropertyList(java.lang.String propertyListPath)
This wrapper method tries to find a given propertyListPath as a classpath resource, then as a file resource, and then loads it. |
static void |
loadPropertyList(java.lang.String propertyListPath,
PropertyListXMLMap map)
This wrapper method tries to find a given propertyListPath as a classpath resource, then as a file resource, and then loads it. |
static void |
loadPropertyList(java.lang.String propertyListName,
java.lang.String propertyListPath)
This wrapper method tries to find a given propertyListPath as a classpath resource, then as a file resource, and then loads it. |
static void |
loadPropertyList(java.lang.String propertyListName,
java.lang.String propertyListPath,
PropertyListXMLMap map)
This wrapper method tries to find a given propertyListPath as a classpath resource, then as a file resource, and then loads it. |
static void |
loadPropertyListFromFile(java.lang.String propertyListFilePath)
This method loads a PropertyList from the contents of an XML file. |
static void |
loadPropertyListFromFile(java.lang.String propertyListFilePath,
PropertyListXMLMap map)
This method loads a PropertyList from the contents of an XML file using a PropertyListXMLMap. |
static void |
loadPropertyListFromFile(java.lang.String propertyListName,
java.lang.String propertyListFilePath)
This method loads a PropertyList from the contents of an XML file. |
static void |
loadPropertyListFromFile(java.lang.String propertyListName,
java.lang.String propertyListFilePath,
PropertyListXMLMap map)
This method loads a PropertyList from the contents of an XML file using a PropertyListXMLMap. |
static void |
loadPropertyListFromResource(java.lang.String propertyListResourcePath)
This method loads a PropertyList from the contents of an XML classpath resource. |
static void |
loadPropertyListFromResource(java.lang.String propertyListResourcePath,
PropertyListXMLMap map)
This method loads a PropertyList from the contents of an XML classpath resource using a PropertyListXML map. |
static void |
loadPropertyListFromResource(java.lang.String propertyListName,
java.lang.String propertyListResourcePath)
This method loads a PropertyList from the contents of an XML classpath resource. |
static void |
loadPropertyListFromResource(java.lang.String propertyListName,
java.lang.String propertyListResourcePath,
PropertyListXMLMap map)
This method loads a PropertyList from the contents of an XML classpath resource using a PropertyListXMLMap. |
static void |
reloadOnFileChange()
This method reloads a file-based XML document based on file change. |
static void |
reloadOnFileChange(java.lang.String propertyListName)
This method reloads a file-based XML document based on file change. |
static void |
removePropertyList(java.lang.String propertyListName)
This method removes a PropertyList. |
static void |
removeReloadablePropertyList(java.lang.String propertyListName)
|
static void |
renamePropertyList(java.lang.String oldPropertyListName,
java.lang.String newPropertyListName)
This method renames a particular PropertyList instance. |
static void |
reset()
This method resets this singleton instance. |
static void |
setFeature(java.lang.String name,
boolean value)
This method sets a Habitat4J feature. |
static void |
setFeature(java.lang.String name,
int value)
This method sets a Habitat4J feature. |
static void |
setFeature(java.lang.String name,
java.lang.String value)
This method sets a Habitat4J feature. |
static void |
setPragmaDefinition(java.lang.String name,
java.lang.String value)
|
static void |
setPragmaDefinition(java.lang.String propertyListName,
java.lang.String name,
java.lang.String value)
|
static java.lang.String |
toDisplayString()
This method is used for debugging purposes. |
static void |
uninhibitReload()
This method releases Habitat4J's reload inhibition. |
| 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 |
| Method Detail |
|---|
public static java.util.Enumeration getProperties()
public static java.util.Enumeration getProperties(java.lang.String propertyListName)
propertyListName - - the name of the PropertyList
public static java.lang.String getProperty(java.lang.String name)
name - - the name of the property
public static java.lang.String getProperty(java.lang.String propertyListName,
java.lang.String name)
propertyListName - - the name of the PropertyListname - - the name of the property
public static int getPropertyAsInt(java.lang.String name)
name - - the name of the property
public static int getPropertyAsInt(java.lang.String propertyListName,
java.lang.String name)
propertyListName - - the name of the PropertyListname - - the name of the property
public static boolean isPropertyTrue(java.lang.String name)
name - - the name of the property
public static boolean isPropertyTrue(java.lang.String propertyListName,
java.lang.String name)
propertyListName - - the name of the PropertyListname - - the name of the property
public static java.lang.String[] getPropertyArray(java.lang.String name)
name - - the name of the property
public static java.lang.String[] getPropertyArray(java.lang.String propertyListName,
java.lang.String name)
propertyListName - - the name of the PropertyListname - - the name of the property
public static PropertyHash getPropertyHash(java.lang.String name)
name - - the name of the property
public static PropertyHash getPropertyHash(java.lang.String propertyListName,
java.lang.String name)
propertyListName - - the name of the PropertyListname - - the name of the property
public static java.util.Properties getPropertyHashAsJavaProperties(java.lang.String name)
name - - the name of the property
public static java.util.Properties getPropertyHashAsJavaProperties(java.lang.String propertyListName,
java.lang.String name)
name - - the name of the propertypropertyListName - - the name of the PropertyList
public static java.lang.String getPropertyHashValue(java.lang.String name,
java.lang.String key)
name - - the name of the propertykey - - the key to lookup in the PropertyHash
public static java.lang.String getPropertyHashValue(java.lang.String propertyListName,
java.lang.String name,
java.lang.String key)
propertyListName - - the name of the PropertyListname - - the name of the propertykey - - the key to lookup in the PropertyHash
public static boolean isPropertyHashValueSet(java.lang.String name,
java.lang.String key)
name - - the name of the propertykey - - the key to lookup in the PropertyHash
public static boolean isPropertyHashValueSet(java.lang.String propertyListName,
java.lang.String name,
java.lang.String key)
propertyListName - - the name of the PropertyListname - - the name of the propertykey - - the key to lookup in the PropertyHash
public static java.lang.Object getPropertyBean(java.lang.String name)
name - - the name of the property
public static java.lang.Object getPropertyBean(java.lang.String propertyListName,
java.lang.String name)
propertyListName - - the name of the PropertyListname - - the name of the property
public static java.lang.Object getPropertyBeanCopy(java.lang.String name)
name - - the name of the property
public static java.lang.Object getPropertyBeanCopy(java.lang.String propertyListName,
java.lang.String name)
propertyListName - - the name of the PropertyListname - - the name of the property
public static java.lang.Object[] getPropertyBeanArray(java.lang.String name)
name - - the name of the property
public static java.lang.Object[] getPropertyBeanArray(java.lang.String propertyListName,
java.lang.String name)
propertyListName - - the name of the PropertyListname - - the name of the property
public static PropertyBeanHash getPropertyBeanHash(java.lang.String name)
name - - the name of the property
public static PropertyBeanHash getPropertyBeanHash(java.lang.String propertyListName,
java.lang.String name)
propertyListName - - the name of the PropertyListname - - the name of the property
public static java.lang.Object getPropertyBeanHashValue(java.lang.String name,
java.lang.String key)
name - - the name of the propertykey - - the key to lookup in the PropertyHash
public static java.lang.Object getPropertyBeanHashValue(java.lang.String propertyListName,
java.lang.String name,
java.lang.String key)
propertyListName - - the name of the PropertyListname - - the name of the propertykey - - the key to lookup in the PropertyHash
public static java.lang.Object getPropertyBeanHashValueCopy(java.lang.String name,
java.lang.String key)
name - - the name of the propertykey - - the key to lookup in the PropertyHash
public static java.lang.Object getPropertyBeanHashValueCopy(java.lang.String propertyListName,
java.lang.String name,
java.lang.String key)
propertyListName - - the name of the PropertyListname - - the name of the propertykey - - the key to lookup in the PropertyHash
public static java.lang.Object[] getPropertyBeanArrayCopy(java.lang.String name)
name - - the name of the property
public static java.lang.Object[] getPropertyBeanArrayCopy(java.lang.String propertyListName,
java.lang.String name)
propertyListName - - the name of the PropertyListname - - the name of the property
public static PropertyBeanHash getPropertyBeanHashCopy(java.lang.String name)
name - - the name of the property
public static PropertyBeanHash getPropertyBeanHashCopy(java.lang.String propertyListName,
java.lang.String name)
propertyListName - - the name of the PropertyListname - - the name of the property
public static java.lang.Class getPropertyClass(java.lang.String name)
name - - the name of the property
public static java.lang.Class getPropertyClass(java.lang.String propertyListName,
java.lang.String name)
propertyListName - - the name of the PropertyListname - - the name of the property
public static java.lang.String getPropertyClassName(java.lang.String name)
name - - the name of the property
public static java.lang.String getPropertyClassName(java.lang.String propertyListName,
java.lang.String name)
propertyListName - - the name of the PropertyListname - - the name of the property
public static PropertyList getPropertyList()
public static PropertyList getPropertyList(java.lang.String propertyListName)
propertyListName - - the name of the PropertyList
public static void renamePropertyList(java.lang.String oldPropertyListName,
java.lang.String newPropertyListName)
throws PropertyListHandlerException
oldPropertyListName - - the name of the PropertyList to renamenewPropertyListName - - the new name of the PropertyList
PropertyListHandlerException
public static void removePropertyList(java.lang.String propertyListName)
throws PropertyListHandlerException
propertyListName - - the name of the PropertyList to remove
PropertyListHandlerException
public static PropertyListManager getPropertyListManager()
throws PropertyListHandlerException
PropertyListHandlerExceptionpublic static java.lang.String getPropertyListModifiedBy()
public static java.lang.String getPropertyListModifiedBy(java.lang.String propertyListName)
propertyListName - - the name of the PropertyList
public static int getPropertyListReloadSerial()
public static int getPropertyListReloadSerial(java.lang.String propertyListName)
propertyListName - - the name of the PropertyList
public static java.lang.String getPropertyListVersion()
public static java.lang.String getPropertyListVersion(java.lang.String propertyListName)
propertyListName - - the name of the PropertyList
public static ServerIdentity getServerIdentity()
public static PropertyListManager initialize(java.lang.String applicationName,
java.lang.String mode,
ServerIdentityXMLMap map)
applicationName - - the name of the applicationmode - - the mode (SERVER_IDENTITY_MODE_FILE, SERVER_IDENTITY_MODE_JVM, or SERVER_IDENTITY_MODE_NULL)map - - ServerIdentityXMLMap definition to use
public static PropertyListManager initialize(java.lang.String applicationName,
java.lang.String mode)
applicationName - - the name of the applicationmode - - the mode (SERVER_IDENTITY_MODE_FILE, SERVER_IDENTITY_MODE_JVM, or SERVER_IDENTITY_MODE_NULL)
public static PropertyListManager initialize(java.lang.String applicationName)
applicationName - - the name of the application
public static boolean isInitialized()
public static boolean isInitialized(java.lang.String propertyListName)
propertyListName - - the name of the PropertyList
public static boolean isPropertyABean(java.lang.String name)
name - the name of the property
public static boolean isPropertyABean(java.lang.String propertyListName,
java.lang.String name)
propertyListName - - the name of the PropertyListname - the name of the property
public static boolean isPropertyABeanArray(java.lang.String name)
name - the name of the property
public static boolean isPropertyABeanArray(java.lang.String propertyListName,
java.lang.String name)
propertyListName - - the name of the PropertyListname - the name of the property
public static boolean isPropertyABeanHash(java.lang.String name)
name - the name of the property
public static boolean isPropertyABeanHash(java.lang.String propertyListName,
java.lang.String name)
propertyListName - - the name of the PropertyListname - the name of the property
public static boolean isPropertyAnArray(java.lang.String name)
name - - the name of the property
public static boolean isPropertyAnArray(java.lang.String propertyListName,
java.lang.String name)
propertyListName - - the name of the PropertyListname - - the name of the property
public static boolean isPropertyAHash(java.lang.String name)
name - - the name of the property
public static boolean isPropertyAHash(java.lang.String propertyListName,
java.lang.String name)
propertyListName - - the name of the PropertyListname - - the name of the property
public static boolean isPropertyAString(java.lang.String name)
name - - the name of the property
public static boolean isPropertyAString(java.lang.String propertyListName,
java.lang.String name)
propertyListName - - the name of the PropertyListname - - the name of the property
public static void loadPropertyList(java.lang.String propertyListPath,
PropertyListXMLMap map)
throws PropertyListHandlerException
propertyListPath - - the classloader or file path of the PropertyList filemap - - PropertyListXMLMap definition to use
PropertyListHandlerException
public static void loadPropertyList(java.lang.String propertyListName,
java.lang.String propertyListPath,
PropertyListXMLMap map)
throws PropertyListHandlerException
propertyListName - - the name of the PropertyListpropertyListPath - - the classloader or file path of the PropertyList filemap - - PropertyListXMLMap definition to use
PropertyListHandlerException
public static void loadPropertyListFromFile(java.lang.String propertyListFilePath,
PropertyListXMLMap map)
throws PropertyListHandlerException
propertyListFilePath - - the file path for this instance of PropertyListmap - - PropertyListXMLMap definition to use
PropertyListHandlerException
public static void loadPropertyListFromFile(java.lang.String propertyListName,
java.lang.String propertyListFilePath,
PropertyListXMLMap map)
throws PropertyListHandlerException
propertyListName - - the name of the PropertyListpropertyListFilePath - - the file path for this instance of PropertyListmap - - PropertyListXMLMap definition to use
PropertyListHandlerException
public static void loadPropertyListFromResource(java.lang.String propertyListResourcePath,
PropertyListXMLMap map)
throws PropertyListHandlerException
propertyListResourcePath - map - - PropertyListXMLMap definition to use
PropertyListHandlerException
public static void loadPropertyListFromResource(java.lang.String propertyListName,
java.lang.String propertyListResourcePath,
PropertyListXMLMap map)
throws PropertyListHandlerException
propertyListName - - the name of the PropertyListpropertyListResourcePath - map - - PropertyListXMLMap definition to use
PropertyListHandlerException
public static void loadPropertyList(java.lang.String propertyListPath)
throws PropertyListHandlerException
propertyListPath - - the classloader or file path of the PropertyList file
PropertyListHandlerException
public static void loadPropertyList(java.lang.String propertyListName,
java.lang.String propertyListPath)
throws PropertyListHandlerException
propertyListName - - the name of the PropertyListpropertyListPath - - the classloader or file path of the PropertyList file
PropertyListHandlerException
public static void loadPropertyListFromFile(java.lang.String propertyListFilePath)
throws PropertyListHandlerException
propertyListFilePath - - the file path for this instance of PropertyList
PropertyListHandlerException
public static void loadPropertyListFromFile(java.lang.String propertyListName,
java.lang.String propertyListFilePath)
throws PropertyListHandlerException
propertyListName - - the name of the PropertyListpropertyListFilePath - - the file path for this instance of PropertyList
PropertyListHandlerException
public static void loadPropertyListFromResource(java.lang.String propertyListResourcePath)
throws PropertyListHandlerException
propertyListResourcePath -
PropertyListHandlerException
public static void loadPropertyListFromResource(java.lang.String propertyListName,
java.lang.String propertyListResourcePath)
throws PropertyListHandlerException
propertyListName - - the name of the PropertyListpropertyListResourcePath -
PropertyListHandlerExceptionpublic static void reloadOnFileChange()
public static void reloadOnFileChange(java.lang.String propertyListName)
propertyListName - - the name of the PropertyListpublic static void reset()
public static void setFeature(java.lang.String name,
boolean value)
throws PropertyListHandlerException
name - - the name of the featurevalue - - the value of the feature
PropertyListHandlerException
public static void setFeature(java.lang.String name,
int value)
throws PropertyListHandlerException
name - - the name of the featurevalue - - the value of the feature
PropertyListHandlerException
public static void setFeature(java.lang.String name,
java.lang.String value)
throws PropertyListHandlerException
name - - the name of the featurevalue - - the value of the feature
PropertyListHandlerException
public static void setPragmaDefinition(java.lang.String propertyListName,
java.lang.String name,
java.lang.String value)
throws PropertyListHandlerException
propertyListName - name - value -
PropertyListHandlerException
public static void setPragmaDefinition(java.lang.String name,
java.lang.String value)
throws PropertyListHandlerException
name - value -
PropertyListHandlerException
public static void addGlobalDecoderDefinition(java.lang.String id,
java.lang.Object decoderObject)
id - - the id for the DecryptorIF implementationdecoderObject - - the instance for the DecoderIF implementation
public static void addGlobalDecoderDefinition(java.lang.String id,
java.lang.Class decoderClass)
id - - the id for the DecoderIF implementationdecoderClass - - the class for the DecoderIF implementation
public static void addGlobalDecryptorDefinition(java.lang.String id,
java.lang.Object decryptorObject)
id - - the id for the DecryptorIF implementationdecryptorObject - - the instance for the DecryptorIF implementation
public static void addGlobalDecrytorDefinition(java.lang.String id,
java.lang.Class decryptorClass)
id - - the id for the DecryptorIF implementationdecryptorClass - - the class for the DecryptorIF implementation
public static void addGlobalPropertyBeanDefinition(java.lang.String id,
java.lang.Class propertyBeanClass)
id - - the id for the PropertyBean ObjectpropertyBeanClass - - the class for the PropertyBean Objectpublic static void inhibitReload()
public static void inhibitReload(long expiration)
expiration - - specifies the duration of the reload inhibition.public static void uninhibitReload()
public static void clearReloadablePropertyLists()
public static void removeReloadablePropertyList(java.lang.String propertyListName)
public static void addReloadablePropertyList(java.lang.String propertyListName)
public static boolean isReloadablePropertyList(java.lang.String propertyListName)
public static java.lang.String toDisplayString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||