|
|||||||||
| 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
public abstract class AbstractPropertyListManager
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 | |
|---|---|
protected Habitat4JLogger |
logger
|
| Constructor Summary | |
|---|---|
AbstractPropertyListManager()
|
|
| Method Summary | |
|---|---|
protected void |
_addGlobalDecoderDefinition(java.lang.String id,
java.lang.Class decoderClass)
|
protected void |
_addGlobalDecoderDefinition(java.lang.String id,
java.lang.Object decoderObject)
|
protected void |
_addGlobalDecryptorDefinition(java.lang.String id,
java.lang.Object decryptorObject)
|
protected void |
_addGlobalDecrytorDefinition(java.lang.String id,
java.lang.Class decryptorClass)
|
protected void |
_addGlobalPropertyBeanDefinition(java.lang.String id,
java.lang.Class propertyBeanClass)
|
protected void |
_addReloadablePropertyList(java.lang.String propertyListName)
|
protected void |
_clearReloadablePropertyLists()
|
protected java.lang.Object |
_getGlobalReloadEventHandler()
|
protected java.util.Enumeration |
_getProperties()
This method is used to obtain a list of all properties from the "default" PropertyList. |
protected java.util.Enumeration |
_getProperties(java.lang.String propertyListName)
This method is used to obtain a list of all properties from the PropertyList specified by the propertyListName parameter. |
protected java.lang.String |
_getProperty(java.lang.String name)
This method is used to obtain a property's String value from the default PropertyList. |
protected java.lang.String |
_getProperty(java.lang.String propertyListName,
java.lang.String name)
This method is used to obtain properties from a particular PropertyList. |
protected 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. |
protected 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. |
protected int |
_getPropertyAsInt(java.lang.String name)
This method is used to obtain a property's int value from the default PropertyList. |
protected int |
_getPropertyAsInt(java.lang.String propertyListName,
java.lang.String name)
This method is used to obtain properties from a particular PropertyList. |
protected java.lang.Object |
_getPropertyBean(java.lang.String name)
This method returns an instance of a PropertyBean from the default PropertyList. |
protected java.lang.Object |
_getPropertyBean(java.lang.String propertyListName,
java.lang.String name)
This method returns an instance of a PropertyBean from a particular PropertyList. |
protected java.lang.Object[] |
_getPropertyBeanArray(java.lang.String name)
This method is used to obtain a property's array of String values from the default PropertyList. |
protected java.lang.Object[] |
_getPropertyBeanArray(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. |
protected java.lang.Object[] |
_getPropertyBeanArrayCopy(java.lang.String name)
This method is used to obtain a property's array of String values from the default PropertyList. |
protected java.lang.Object[] |
_getPropertyBeanArrayCopy(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. |
protected java.lang.Object |
_getPropertyBeanCopy(java.lang.String name)
This method returns an instance of a PropertyBean from the default PropertyList. |
protected java.lang.Object |
_getPropertyBeanCopy(java.lang.String propertyListName,
java.lang.String name)
This method returns an instance of a PropertyBean from a particular PropertyList. |
protected PropertyBeanHash |
_getPropertyBeanHash(java.lang.String name)
This method returns an instance of a PropertyBean from the default PropertyList. |
protected PropertyBeanHash |
_getPropertyBeanHash(java.lang.String propertyListName,
java.lang.String name)
This method returns an instance of a PropertyBean from a particular PropertyList. |
protected PropertyBeanHash |
_getPropertyBeanHashCopy(java.lang.String name)
This method is used to obtain a property's array of String values from the default PropertyList. |
protected PropertyBeanHash |
_getPropertyBeanHashCopy(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. |
protected java.lang.Object |
_getPropertyBeanHashValue(java.lang.String name,
java.lang.String key)
This method is used to obtain a property's hash of String values from a particular PropertyList. |
protected java.lang.Object |
_getPropertyBeanHashValue(java.lang.String propertyListName,
java.lang.String name,
java.lang.String key)
This method is used to obtain a property's hash of String values from a particular PropertyList. |
protected java.lang.Object |
_getPropertyBeanHashValueCopy(java.lang.String name,
java.lang.String key)
This method is used to obtain a property's hash of String values from a particular PropertyList. |
protected java.lang.Object |
_getPropertyBeanHashValueCopy(java.lang.String propertyListName,
java.lang.String name,
java.lang.String key)
This method is used to obtain a property's hash of String values from a particular PropertyList. |
protected java.lang.Class |
_getPropertyClass(java.lang.String name)
This method gets a property's class from the default PropertyList. |
protected java.lang.Class |
_getPropertyClass(java.lang.String propertyListName,
java.lang.String name)
This method gets a property's class from a particular PropertyList. |
protected java.lang.String |
_getPropertyClassName(java.lang.String name)
This method gets a property's classname from the default PropertyList. |
protected java.lang.String |
_getPropertyClassName(java.lang.String propertyListName,
java.lang.String name)
This method gets a property's classname from a particular PropertyList. |
protected PropertyHash |
_getPropertyHash(java.lang.String name)
This method is used to obtain a property's hash of String values from the default PropertyList. |
protected 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. |
protected java.util.Properties |
_getPropertyHashAsJavaProperties(java.lang.String name)
This method is used to obtain a property's hash of String values from the default PropertyList. |
protected java.util.Properties |
_getPropertyHashAsJavaProperties(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. |
protected java.lang.String |
_getPropertyHashValue(java.lang.String name,
java.lang.String key)
This method is used to obtain a property's hash of String values from a particular PropertyList. |
protected java.lang.String |
_getPropertyHashValue(java.lang.String propertyListName,
java.lang.String name,
java.lang.String key)
This method is used to obtain a property's hash of String values from a particular PropertyList. |
protected PropertyList |
_getPropertyList()
This method is used to obtain the default instance of PropertyList. |
protected PropertyList |
_getPropertyList(java.lang.String propertyListName)
This method is used to obtain the instance of PropertyList specified by the propertyListName parameter. |
protected java.lang.String |
_getPropertyListModifiedBy()
This method returns the "modified by" of the default PropertyList. |
protected java.lang.String |
_getPropertyListModifiedBy(java.lang.String propertyListName)
This method returns the "modified by" of the PropertyList. |
protected int |
_getPropertyListReloadSerial()
This method returns the reload serial enumeration of the default PropertyList. |
protected int |
_getPropertyListReloadSerial(java.lang.String propertyListName)
This method returns the reload serial enumeration of the PropertyList. |
protected java.lang.String |
_getPropertyListVersion()
This method returns the version of the default PropertyList. |
protected java.lang.String |
_getPropertyListVersion(java.lang.String propertyListName)
This method returns the version of the PropertyList. |
protected ServerIdentity |
_getServerIdentity()
|
protected void |
_inhibitReload()
|
protected void |
_inhibitReload(long expiration)
|
protected void |
_initialize(java.lang.String applicationName,
AbstractServerIdentityManager serverIdentityManager)
This method will initialize the ServerIdentityManager and generate the Singleton instance of this class. |
protected void |
_initialize(java.lang.String applicationName,
AbstractServerIdentityManager serverIdentityManager,
java.lang.String mode)
This method will initialize the ServerIdentityManager and generate the Singleton instance of this class. |
protected void |
_initialize(java.lang.String applicationName,
AbstractServerIdentityManager serverIdentityManager,
java.lang.String mode,
ServerIdentityXMLMap map)
This method will initialize the ServerIdentityManager and generate the Singleton instance of this class. |
protected boolean |
_isInitialized()
This method is used to determine whether the default PropertyList instance has been initialized. |
protected boolean |
_isInitialized(java.lang.String propertyListName)
This method is used to determine whether PropertyListManager has been successfully initialized. |
protected boolean |
_isPropertyABean(java.lang.String name)
This method returns whether a property contains an instance of a PropertyBean Object. |
protected boolean |
_isPropertyABean(java.lang.String propertyListName,
java.lang.String name)
This method returns whether a property contains an instance of a PropertyBean Object. |
protected boolean |
_isPropertyABeanArray(java.lang.String name)
This method returns whether a property contains an array of PropertyBean Objects. |
protected boolean |
_isPropertyABeanArray(java.lang.String propertyListName,
java.lang.String name)
This method returns whether a property contains an array of PropertyBean Objects. |
protected boolean |
_isPropertyABeanHash(java.lang.String name)
This method returns whether a property contains an array of PropertyBean Objects. |
protected boolean |
_isPropertyABeanHash(java.lang.String propertyListName,
java.lang.String name)
This method returns whether a property contains an array of PropertyBean Objects. |
protected boolean |
_isPropertyAHash(java.lang.String name)
This method returns whether a property from the default PropertyList contains a hash of Strings. |
protected boolean |
_isPropertyAHash(java.lang.String propertyListName,
java.lang.String name)
This method returns whether a property contains a hash of String values. |
protected boolean |
_isPropertyAnArray(java.lang.String name)
This method returns whether a property from the default PropertyList contains an array of Strings. |
protected boolean |
_isPropertyAnArray(java.lang.String propertyListName,
java.lang.String name)
This method returns whether a property contains an array of String values. |
protected boolean |
_isPropertyAString(java.lang.String name)
This method returns whether a property contains a String value. |
protected boolean |
_isPropertyAString(java.lang.String propertyListName,
java.lang.String name)
This method returns whether a property contains a String value. |
protected boolean |
_isPropertyHashValueSet(java.lang.String name,
java.lang.String key)
This method is used to obtain a property's hash of String values from a particular PropertyList. |
protected boolean |
_isPropertyHashValueSet(java.lang.String propertyListName,
java.lang.String name,
java.lang.String key)
This method is used to obtain a property's hash of String values from a particular PropertyList. |
protected boolean |
_isPropertyTrue(java.lang.String name)
This method is used to obtain a property's int value from the default PropertyList. |
protected boolean |
_isPropertyTrue(java.lang.String propertyListName,
java.lang.String name)
This method is used to obtain properties from a particular PropertyList. |
protected boolean |
_isReloadablePropertyList(java.lang.String propertyListName)
|
protected 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. |
protected 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. |
protected 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. |
protected 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. |
protected void |
_loadPropertyListFromFile(java.lang.String propertyListFilePath)
This method is used to retrieve a PropertyList from a file, using the "default" PropertyList symbolic name. |
protected void |
_loadPropertyListFromFile(java.lang.String propertyListFilePath,
PropertyListXMLMap map)
This method is used to retrieve a PropertyList from a file, using the "default" PropertyList symbolic name. |
protected void |
_loadPropertyListFromFile(java.lang.String propertyListName,
java.lang.String propertyListFilePath,
boolean tempPropertyList)
This method is called by your application to retrieve a PropertyList from a file using the symbolic name specified by the propertyListName argument. |
protected void |
_loadPropertyListFromFile(java.lang.String propertyListName,
java.lang.String propertyListFilePath,
boolean tempPropertyList,
PropertyListXMLMap map)
This method is called by your application to retrieve a PropertyList from a file using the symbolic name specified by the propertyListName argument. |
protected void |
_loadPropertyListFromFile(java.lang.String propertyListName,
java.lang.String propertyListFilePath,
PropertyListXMLMap map)
This method is used to retrieve a PropertyList from a file, using the specified PropertyList name. |
protected void |
_loadPropertyListFromResource(java.lang.String propertyListResourcePath)
This method is called by your application to retrieve a PropertyList from a classpath resource, using the "default" PropertyList symbolic name. |
protected void |
_loadPropertyListFromResource(java.lang.String propertyListResourcePath,
PropertyListXMLMap map)
This method is called by your application to retrieve a PropertyList from a classpath resource, using the "default" PropertyList symbolic name. |
protected void |
_loadPropertyListFromResource(java.lang.String propertyListName,
java.lang.String propertyListResourcePath)
This method is used to retrieve a PropertyList from a classpath resource using the symbolic name specified by the propertyListName argument. |
protected void |
_loadPropertyListFromResource(java.lang.String propertyListName,
java.lang.String propertyListResourcePath,
PropertyListXMLMap map)
This method is used to retrieve a PropertyList from a classpath resource using the symbolic name specified by the propertyListName argument. |
protected void |
_reloadOnFileChange()
This method reloads a file-based XML document based on file change. |
protected void |
_reloadOnFileChange(java.lang.String propertyListName)
This method reloads a file-based XML document based on file change. |
protected void |
_removePropertyList(java.lang.String propertyListName)
This method removes a PropertyList. |
protected void |
_removeReloadablePropertyList(java.lang.String propertyListName)
|
protected void |
_renamePropertyList(java.lang.String oldPropertyListName,
java.lang.String newPropertyListName)
This method renames a particular PropertyList instance. |
protected void |
_setFeature(java.lang.String name,
boolean value)
This method sets Habitat4J features. |
protected void |
_setFeature(java.lang.String name,
int value)
This method sets Habitat4J features. |
protected void |
_setFeature(java.lang.String name,
java.lang.String value)
This method sets Habitat4J features. |
protected void |
_setGlobalReloadEventHandler(java.lang.Object globalReloadEventHandler)
|
protected void |
_setPragmaDefinition(java.lang.String name,
java.lang.String value)
|
protected void |
_setPragmaDefinition(java.lang.String propertyListName,
java.lang.String name,
java.lang.String value)
|
protected java.lang.String |
_toDisplayString()
This method is used to produce a human-readable list of all PropertyList instances. |
protected void |
_uninhibitReload()
|
protected void |
checkThatPropertyListExists(java.lang.String propertyListName)
|
protected void |
checkThatPropertyListExists(java.lang.String propertyListName,
java.lang.String name)
|
protected void |
throwPropertyNotAvailableExceptionBecauseListNotInitialized(java.lang.String propertyListName,
java.lang.String name)
|
| 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 |
|---|
protected Habitat4JLogger logger
| Constructor Detail |
|---|
public AbstractPropertyListManager()
| Method Detail |
|---|
protected java.util.Enumeration _getProperties()
throws PropertyNotAvailableException
PropertyNotAvailableException
protected java.util.Enumeration _getProperties(java.lang.String propertyListName)
throws PropertyNotAvailableException
propertyListName - the PropertyList instance from which to retrieve
PropertyNotAvailableException
protected java.lang.String _getProperty(java.lang.String name)
throws PropertyNotAvailableException
name - - the name of the property
PropertyNotAvailableException
protected java.lang.String _getProperty(java.lang.String propertyListName,
java.lang.String name)
throws PropertyNotAvailableException
propertyListName - - the name of the PropertyListname - - the name of the property
PropertyNotAvailableException
protected int _getPropertyAsInt(java.lang.String propertyListName,
java.lang.String name)
throws PropertyNotAvailableException
propertyListName - - the name of the PropertyListname - - the name of the property
PropertyNotAvailableException
protected int _getPropertyAsInt(java.lang.String name)
throws PropertyNotAvailableException
name - - the name of the property
PropertyNotAvailableException
protected boolean _isPropertyTrue(java.lang.String propertyListName,
java.lang.String name)
throws PropertyNotAvailableException
propertyListName - - the name of the PropertyListname - - the name of the property
PropertyNotAvailableException
protected boolean _isPropertyTrue(java.lang.String name)
throws PropertyNotAvailableException
name - - the name of the property
PropertyNotAvailableException
protected java.lang.String[] _getPropertyArray(java.lang.String name)
throws PropertyNotAvailableException
name - - the name of the property
PropertyNotAvailableException
protected java.lang.String[] _getPropertyArray(java.lang.String propertyListName,
java.lang.String name)
throws PropertyNotAvailableException
propertyListName - - the name of the PropertyListname - - the name of the property
PropertyNotAvailableException
protected PropertyHash _getPropertyHash(java.lang.String name)
throws PropertyNotAvailableException
name - - the name of the property
PropertyNotAvailableException
protected PropertyHash _getPropertyHash(java.lang.String propertyListName,
java.lang.String name)
throws PropertyNotAvailableException
propertyListName - - the name of the PropertyListname - - the name of the property
PropertyNotAvailableException
protected java.util.Properties _getPropertyHashAsJavaProperties(java.lang.String name)
throws PropertyNotAvailableException
name - - the name of the property
PropertyNotAvailableException
protected java.util.Properties _getPropertyHashAsJavaProperties(java.lang.String propertyListName,
java.lang.String name)
throws PropertyNotAvailableException
propertyListName - - the name of the PropertyListname - - the name of the property
PropertyNotAvailableException
protected java.lang.String _getPropertyHashValue(java.lang.String name,
java.lang.String key)
throws PropertyNotAvailableException
name - - the name of the propertykey - - the key to lookup in the PropertyHash
PropertyNotAvailableException
protected java.lang.String _getPropertyHashValue(java.lang.String propertyListName,
java.lang.String name,
java.lang.String key)
throws PropertyNotAvailableException
propertyListName - - the name of the PropertyListname - - the name of the propertykey - - the key to lookup in the PropertyHash
PropertyNotAvailableException
protected java.lang.Object _getPropertyBeanHashValue(java.lang.String name,
java.lang.String key)
throws PropertyNotAvailableException
name - - the name of the propertykey - - the key to lookup in the PropertyHash
PropertyNotAvailableException
protected java.lang.Object _getPropertyBeanHashValue(java.lang.String propertyListName,
java.lang.String name,
java.lang.String key)
throws PropertyNotAvailableException
propertyListName - - the name of the PropertyListname - - the name of the propertykey - - the key to lookup in the PropertyHash
PropertyNotAvailableException
protected java.lang.Object _getPropertyBeanHashValueCopy(java.lang.String name,
java.lang.String key)
throws PropertyNotAvailableException
name - - the name of the propertykey - - the key to lookup in the PropertyHash
PropertyNotAvailableException
protected java.lang.Object _getPropertyBeanHashValueCopy(java.lang.String propertyListName,
java.lang.String name,
java.lang.String key)
throws PropertyNotAvailableException
propertyListName - - the name of the PropertyListname - - the name of the propertykey - - the key to lookup in the PropertyHash
PropertyNotAvailableException
protected boolean _isPropertyHashValueSet(java.lang.String name,
java.lang.String key)
throws PropertyNotAvailableException
name - - the name of the propertykey - - the key to lookup in the PropertyHash
PropertyNotAvailableException
protected boolean _isPropertyHashValueSet(java.lang.String propertyListName,
java.lang.String name,
java.lang.String key)
throws PropertyNotAvailableException
propertyListName - - the name of the PropertyListname - - the name of the propertykey - - the key to lookup in the PropertyHash
PropertyNotAvailableException
protected java.lang.Object _getPropertyBean(java.lang.String name)
throws PropertyNotAvailableException
name - - the name of the property
PropertyNotAvailableException
protected java.lang.Object _getPropertyBean(java.lang.String propertyListName,
java.lang.String name)
throws PropertyNotAvailableException
propertyListName - - the name of the PropertyListname - - the name of the property
PropertyNotAvailableException
protected PropertyBeanHash _getPropertyBeanHash(java.lang.String name)
throws PropertyNotAvailableException
name - - the name of the property
PropertyNotAvailableException
protected PropertyBeanHash _getPropertyBeanHash(java.lang.String propertyListName,
java.lang.String name)
throws PropertyNotAvailableException
propertyListName - - the name of the PropertyListname - - the name of the property
PropertyNotAvailableException
protected java.lang.Object _getPropertyBeanCopy(java.lang.String name)
throws PropertyNotAvailableException
name - - the name of the property
PropertyNotAvailableException
protected java.lang.Object _getPropertyBeanCopy(java.lang.String propertyListName,
java.lang.String name)
throws PropertyNotAvailableException
propertyListName - - the name of the PropertyListname - - the name of the property
PropertyNotAvailableException
protected java.lang.Object[] _getPropertyBeanArray(java.lang.String name)
throws PropertyNotAvailableException
name - - the name of the property
PropertyNotAvailableException
protected java.lang.Object[] _getPropertyBeanArray(java.lang.String propertyListName,
java.lang.String name)
throws PropertyNotAvailableException
propertyListName - - the name of the PropertyListname - - the name of the property
PropertyNotAvailableException
protected java.lang.Object[] _getPropertyBeanArrayCopy(java.lang.String name)
throws PropertyNotAvailableException
name - - the name of the property
PropertyNotAvailableException
protected java.lang.Object[] _getPropertyBeanArrayCopy(java.lang.String propertyListName,
java.lang.String name)
throws PropertyNotAvailableException
propertyListName - - the name of the PropertyListname - - the name of the property
PropertyNotAvailableException
protected PropertyBeanHash _getPropertyBeanHashCopy(java.lang.String name)
throws PropertyNotAvailableException
name - - the name of the property
PropertyNotAvailableException
protected PropertyBeanHash _getPropertyBeanHashCopy(java.lang.String propertyListName,
java.lang.String name)
throws PropertyNotAvailableException
propertyListName - - the name of the PropertyListname - - the name of the property
PropertyNotAvailableException
protected java.lang.Class _getPropertyClass(java.lang.String name)
throws PropertyNotAvailableException
name - - the name of the property
PropertyNotAvailableException
protected java.lang.Class _getPropertyClass(java.lang.String propertyListName,
java.lang.String name)
throws PropertyNotAvailableException
propertyListName - - the name of the PropertyListname - - the name of the property
PropertyNotAvailableException
protected java.lang.String _getPropertyClassName(java.lang.String name)
throws PropertyNotAvailableException
name - - the name of the property
PropertyNotAvailableException
protected java.lang.String _getPropertyClassName(java.lang.String propertyListName,
java.lang.String name)
throws PropertyNotAvailableException
propertyListName - - the name of the PropertyListname - - the name of the property
PropertyNotAvailableExceptionprotected PropertyList _getPropertyList()
protected PropertyList _getPropertyList(java.lang.String propertyListName)
propertyListName - - the name of the PropertyList
protected 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
protected void _removePropertyList(java.lang.String propertyListName)
throws PropertyListHandlerException
propertyListName - - the name of the PropertyList to remove
PropertyListHandlerException
protected java.lang.String _getPropertyListModifiedBy()
throws PropertyNotAvailableException
PropertyNotAvailableException
protected java.lang.String _getPropertyListModifiedBy(java.lang.String propertyListName)
throws PropertyNotAvailableException
propertyListName - - the name of the PropertyList
PropertyNotAvailableException
protected int _getPropertyListReloadSerial()
throws PropertyNotAvailableException
PropertyNotAvailableException
protected int _getPropertyListReloadSerial(java.lang.String propertyListName)
throws PropertyNotAvailableException
propertyListName - - the name of the PropertyList
PropertyNotAvailableException
protected java.lang.String _getPropertyListVersion()
throws PropertyNotAvailableException
PropertyNotAvailableException
protected java.lang.String _getPropertyListVersion(java.lang.String propertyListName)
throws PropertyNotAvailableException
propertyListName - - the name of the PropertyList
PropertyNotAvailableExceptionprotected ServerIdentity _getServerIdentity()
protected void _initialize(java.lang.String applicationName,
AbstractServerIdentityManager serverIdentityManager,
java.lang.String mode,
ServerIdentityXMLMap map)
applicationName - - the name of the calling applicationmode - - the ServerIdentity mode identifier ("N" "F" or "J")map - serverIdentityManager - - the instance of ServerIdentityManager
protected void _initialize(java.lang.String applicationName,
AbstractServerIdentityManager serverIdentityManager,
java.lang.String mode)
applicationName - - the name of the calling applicationmode - serverIdentityManager - - the instance of ServerIdentityManager
protected void _initialize(java.lang.String applicationName,
AbstractServerIdentityManager serverIdentityManager)
applicationName - - the name of the calling applicationserverIdentityManager - - the instance of ServerIdentityManagerprotected boolean _isInitialized()
protected boolean _isInitialized(java.lang.String propertyListName)
propertyListName - - the name of the PropertyList instance
protected boolean _isPropertyABean(java.lang.String name)
throws PropertyNotAvailableException
name - the name of the property
PropertyNotAvailableException
protected boolean _isPropertyABean(java.lang.String propertyListName,
java.lang.String name)
throws PropertyNotAvailableException
propertyListName - - the name of the PropertyListname - the name of the property
PropertyNotAvailableException
protected boolean _isPropertyABeanArray(java.lang.String name)
throws PropertyNotAvailableException
name - the name of the property
PropertyNotAvailableException
protected boolean _isPropertyABeanArray(java.lang.String propertyListName,
java.lang.String name)
throws PropertyNotAvailableException
propertyListName - - the name of the PropertyListname - the name of the property
PropertyNotAvailableException
protected boolean _isPropertyABeanHash(java.lang.String name)
throws PropertyNotAvailableException
name - the name of the property
PropertyNotAvailableException
protected boolean _isPropertyABeanHash(java.lang.String propertyListName,
java.lang.String name)
throws PropertyNotAvailableException
propertyListName - - the name of the PropertyListname - the name of the property
PropertyNotAvailableException
protected boolean _isPropertyAnArray(java.lang.String name)
throws PropertyNotAvailableException
name - the name of the property
PropertyNotAvailableException
protected boolean _isPropertyAnArray(java.lang.String propertyListName,
java.lang.String name)
throws PropertyNotAvailableException
propertyListName - - the name of the PropertyListname - - the name of the property
PropertyNotAvailableException
protected boolean _isPropertyAHash(java.lang.String name)
throws PropertyNotAvailableException
name - the name of the property
PropertyNotAvailableException
protected boolean _isPropertyAHash(java.lang.String propertyListName,
java.lang.String name)
throws PropertyNotAvailableException
propertyListName - - the name of the PropertyListname - - the name of the property
PropertyNotAvailableException
protected boolean _isPropertyAString(java.lang.String name)
throws PropertyNotAvailableException
name - - the name of the property
PropertyNotAvailableException
protected boolean _isPropertyAString(java.lang.String propertyListName,
java.lang.String name)
throws PropertyNotAvailableException
propertyListName - - the name of the PropertyListname - - the name of the property
PropertyNotAvailableException
protected void _loadPropertyList(java.lang.String propertyListPath,
PropertyListXMLMap map)
throws PropertyListHandlerException
propertyListPath - - the classloader or file path of the PropertyList filemap - - the PropertyListXMLMap to use for compatibility with other schemas
PropertyListHandlerException
protected 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 - - the PropertyListXMLMap to use for compatibility with other schemas
PropertyListHandlerException
protected void _loadPropertyListFromFile(java.lang.String propertyListName,
java.lang.String propertyListFilePath,
PropertyListXMLMap map)
throws PropertyListHandlerException
propertyListName - - the name of the PropertyListpropertyListFilePath - - the path of the PropertyList XML filemap - - the PropertyListXMLMap to use for compatibility with other schemas
PropertyListHandlerException
protected void _loadPropertyListFromFile(java.lang.String propertyListFilePath,
PropertyListXMLMap map)
throws PropertyListHandlerException
propertyListFilePath - - the path of the PropertyList XML filemap - - the PropertyListXMLMap to use for compatibility with other schemas
PropertyListHandlerException
protected void _loadPropertyListFromFile(java.lang.String propertyListName,
java.lang.String propertyListFilePath,
boolean tempPropertyList,
PropertyListXMLMap map)
throws PropertyListHandlerException
propertyListName - - the name of the PropertyListpropertyListFilePath - - the path of the PropertyList XML filetempPropertyList - - marks this PropertyList as a temporary one (used for reloading)map - - the PropertyListXMLMap to use for compatibility with other schemas
PropertyListHandlerException
protected void _loadPropertyListFromResource(java.lang.String propertyListResourcePath,
PropertyListXMLMap map)
throws PropertyListHandlerException
propertyListResourcePath - - the classloader path of the PropertyList filemap - - the PropertyListXMLMap to use for compatibility with other schemas
PropertyListHandlerException
protected void _loadPropertyListFromResource(java.lang.String propertyListName,
java.lang.String propertyListResourcePath,
PropertyListXMLMap map)
throws PropertyListHandlerException
propertyListName - - the name of the PropertyListpropertyListResourcePath - - the classloader path of the PropertyList filemap - - the PropertyListXMLMap to use for compatibility with other schemas
PropertyListHandlerException
protected void _loadPropertyList(java.lang.String propertyListPath)
throws PropertyListHandlerException
propertyListPath - - the classloader or file path of the PropertyList file
PropertyListHandlerException
protected 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
protected void _loadPropertyListFromFile(java.lang.String propertyListFilePath)
throws PropertyListHandlerException
propertyListFilePath - - the path of the PropertyList XML file
PropertyListHandlerException
protected void _loadPropertyListFromFile(java.lang.String propertyListName,
java.lang.String propertyListFilePath,
boolean tempPropertyList)
throws PropertyListHandlerException
propertyListName - - the name of the PropertyListpropertyListFilePath - - the path of the PropertyList XML filetempPropertyList - - marks this PropertyList as a temporary one (used for reloading)
PropertyListHandlerException
protected void _loadPropertyListFromResource(java.lang.String propertyListResourcePath)
throws PropertyListHandlerException
propertyListResourcePath - - the classloader path of the PropertyList file
PropertyListHandlerException
protected void _loadPropertyListFromResource(java.lang.String propertyListName,
java.lang.String propertyListResourcePath)
throws PropertyListHandlerException
propertyListName - - the name of the PropertyListpropertyListResourcePath - - the classloader path of the PropertyList file
PropertyListHandlerExceptionprotected void _reloadOnFileChange()
protected void _reloadOnFileChange(java.lang.String propertyListName)
propertyListName - - the name of the PropertyList
protected void _setFeature(java.lang.String name,
boolean value)
throws PropertyListHandlerException
name - - the name of the featurevalue - - the boolean value of the feature
PropertyListHandlerException
protected void _setFeature(java.lang.String name,
int value)
throws PropertyListHandlerException
name - - the name of the featurevalue - - the int value of the feature
PropertyListHandlerException
protected void _setFeature(java.lang.String name,
java.lang.String value)
throws PropertyListHandlerException
name - - the name of the featurevalue - - the value of the feature
PropertyListHandlerExceptionprotected java.lang.String _toDisplayString()
protected void _addGlobalDecoderDefinition(java.lang.String id,
java.lang.Object decoderObject)
id - decoderObject -
protected void _addGlobalDecoderDefinition(java.lang.String id,
java.lang.Class decoderClass)
id - decoderClass -
protected void _addGlobalDecryptorDefinition(java.lang.String id,
java.lang.Object decryptorObject)
id - decryptorObject -
protected void _addGlobalDecrytorDefinition(java.lang.String id,
java.lang.Class decryptorClass)
id - decryptorClass -
protected void _addGlobalPropertyBeanDefinition(java.lang.String id,
java.lang.Class propertyBeanClass)
id - propertyBeanClass - protected java.lang.Object _getGlobalReloadEventHandler()
protected void _setGlobalReloadEventHandler(java.lang.Object globalReloadEventHandler)
globalReloadEventHandler - The globalReloadEventHandler to set.
protected void _setPragmaDefinition(java.lang.String name,
java.lang.String value)
throws PropertyNotAvailableException
name - - the pragma definition namevalue - - the pragma definition value
PropertyNotAvailableException
protected void _setPragmaDefinition(java.lang.String propertyListName,
java.lang.String name,
java.lang.String value)
throws PropertyNotAvailableException
propertyListName - - the PropertyListname - - the pragma definition namevalue - - the pragma definition value
PropertyNotAvailableException
protected void checkThatPropertyListExists(java.lang.String propertyListName,
java.lang.String name)
throws PropertyNotAvailableException
propertyListName - name -
PropertyNotAvailableException
protected void checkThatPropertyListExists(java.lang.String propertyListName)
throws PropertyNotAvailableException
PropertyNotAvailableException
protected void throwPropertyNotAvailableExceptionBecauseListNotInitialized(java.lang.String propertyListName,
java.lang.String name)
throws PropertyNotAvailableException
propertyListName - name -
PropertyNotAvailableExceptionprotected void _inhibitReload()
protected void _inhibitReload(long expiration)
expiration - protected void _uninhibitReload()
protected void _clearReloadablePropertyLists()
protected void _removeReloadablePropertyList(java.lang.String propertyListName)
protected void _addReloadablePropertyList(java.lang.String propertyListName)
protected boolean _isReloadablePropertyList(java.lang.String propertyListName)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||