|
|||||||||
| Home >> All >> org >> scopemvc >> [ util overview ] | PREV NEXT | ||||||||
A
- activateObject(Object) - Method in class org.scopemvc.util.BasicPoolableObjectFactory
- Peforms whatever processing is required prior to activating a pooled object.
- activateObject(Object) - Method in interface org.scopemvc.util.PoolableObjectFactory
- Peforms whatever processing is required prior to activating a pooled object.
- add(Object) - Method in class org.scopemvc.util.WeakSet
- Ensures that this collection contains the specified element (optional operation).
- addAll(Collection) - Method in class org.scopemvc.util.WeakSet
- Adds all of the elements in the specified collection to this collection (optional operation).
- addObjectPool(Class, ObjectPool) - Method in class org.scopemvc.util.ObjectPoolManager
- Adds a pool to be managed.
- assertTrue(boolean) - Static method in class org.scopemvc.util.Debug
- Test preconditions and postconditions like this (but don't include code in the assertion that changes the state of anything because it'll be stripped in non-debug versions):
- assertTrue(boolean, String) - Static method in class org.scopemvc.util.Debug
B
- BasicObjectPool - class org.scopemvc.util.BasicObjectPool.
- Pools objects given a factory and optional maximum pool size.
- BasicObjectPool(PoolableObjectFactory) - Constructor for class org.scopemvc.util.BasicObjectPool
- Construct a basic object pool with the specified factory and a maximum pool size of Integer.MAX_VALUE.
- BasicObjectPool(PoolableObjectFactory, int) - Constructor for class org.scopemvc.util.BasicObjectPool
- Construct a basic object pool with the specified factory and maximum pool size.
- BasicPoolableObjectFactory - class org.scopemvc.util.BasicPoolableObjectFactory.
- Creates pooleable instances of a specific class.
- BasicPoolableObjectFactory(Class) - Constructor for class org.scopemvc.util.BasicPoolableObjectFactory
- Construct a basic fool factory for the specified class.
- borrowObject() - Method in class org.scopemvc.util.BasicObjectPool
- Obtains an instance of the pooled class.
- borrowObject() - Method in interface org.scopemvc.util.ObjectPool
- Obtains an instance of the pooled class.
- borrowObject(Class) - Method in class org.scopemvc.util.ObjectPoolManager
- Obtains an instance of the sepcified class from the pool.
- borrowObjectIfExists() - Method in class org.scopemvc.util.BasicObjectPool
- Obtains an instance of the pooled class.
- borrowObjectIfExists() - Method in interface org.scopemvc.util.ObjectPool
- Obtains an instance of the pooled class.
- borrowObjectIfExists(Class) - Method in class org.scopemvc.util.ObjectPoolManager
- Obtains an instance of the specified class from the pool.
C
- clazz - Variable in class org.scopemvc.util.BasicPoolableObjectFactory
- The class to use
- clear() - Method in class org.scopemvc.util.WeakSet
- Removes all of the elements from this collection (optional operation).
- contains(Object) - Method in class org.scopemvc.util.WeakSet
- Returns true if this collection contains the specified element.
- containsAll(Collection) - Method in class org.scopemvc.util.WeakSet
- Returns true if this collection contains all of the elements in the specified collection.
- contents - Static variable in class org.scopemvc.util.DefaultScopeConfig
- contents - Variable in class org.scopemvc.util.WeakSet
- The set of objects wrapped in References
- create(Object) - Static method in class org.scopemvc.util.WeakSet.WeakEntry
- create(Object, ReferenceQueue) - Static method in class org.scopemvc.util.WeakSet.WeakEntry
- createObject() - Method in class org.scopemvc.util.BasicPoolableObjectFactory
- Creates and returns a poolable object.
- createObject() - Method in interface org.scopemvc.util.PoolableObjectFactory
- Creates and returns a poolable object.
D
- DEFAULT_CONFIG_NAME - Static variable in class org.scopemvc.util.ScopeConfig
- DEFAULT_CUSTOM_CONFIG_NAME - Static variable in class org.scopemvc.util.ScopeConfig
- DEFAULT_PROPERTY_PREFIX - Static variable in class org.scopemvc.util.ScopeConfig
- DateTime - class org.scopemvc.util.DateTime.
- An empty marker subclass of java.util.Date that DateTimeStringConvertor is associated with in the default configuration.
- DateTime() - Constructor for class org.scopemvc.util.DateTime
- DateTime(long) - Constructor for class org.scopemvc.util.DateTime
- Debug - class org.scopemvc.util.Debug.
- A (very simple) general purpose Debug class for assertion checking.
- Debug() - Constructor for class org.scopemvc.util.Debug
- Don't create a Debug -- use static methods.
- DefaultScopeConfig - class org.scopemvc.util.DefaultScopeConfig.
- Default resources for Scope.
- DefaultScopeConfig() - Constructor for class org.scopemvc.util.DefaultScopeConfig
- destroyObject(Object) - Method in class org.scopemvc.util.BasicPoolableObjectFactory
- Peforms whatever processing is required prior to destruction of a pooled object.
- destroyObject(Object) - Method in interface org.scopemvc.util.PoolableObjectFactory
- Peforms whatever processing is required prior to destruction of a pooled object.
E
- equals(Object) - Method in class org.scopemvc.util.WeakSet.WeakEntry
- equals(Object) - Method in class org.scopemvc.util.WeakSet
- Compares the specified object with this collection for equality.
F
- factory - Variable in class org.scopemvc.util.BasicObjectPool
- The factory used to create pooled objects
- freeList - Variable in class org.scopemvc.util.BasicObjectPool
- Queue of free instances
G
- get(String) - Static method in class org.scopemvc.util.UIStrings
- getChar(String) - Static method in class org.scopemvc.util.ScopeConfig
- getClass(String) - Static method in class org.scopemvc.util.ScopeConfig
- getContents() - Method in class org.scopemvc.util.DefaultScopeConfig
- getDefaultConfigName() - Method in class org.scopemvc.util.ScopeConfig
- Returns the name of the default configuration bundle.
- getDefaultCustomConfigName() - Method in class org.scopemvc.util.ScopeConfig
- Returns the name of the default custom configuration bundle.
- getEntrySet() - Method in class org.scopemvc.util.WeakSet
- Creates an unwrappered copy of the contents
- getInstance() - Static method in class org.scopemvc.util.ObjectPoolManager
- Obtains the singleton instance of this class.
- getInstance() - Static method in class org.scopemvc.util.ScopeConfig
- getInteger(String) - Static method in class org.scopemvc.util.ScopeConfig
- getKey() - Method in class org.scopemvc.util.KeyValue
- getKeysMatching(String) - Static method in class org.scopemvc.util.ScopeConfig
- getLocalizedMessage() - Method in class org.scopemvc.util.LocalizedException
- Use the message as an ID to a message pattern in the UIStrings and use java.text.MessageFormat to format it with the message parameters.
- getObject(String) - Static method in class org.scopemvc.util.ScopeConfig
- getObjectPool(Class) - Method in class org.scopemvc.util.ObjectPoolManager
- Obtains the pool for the given class
- getProperties(String) - Method in class org.scopemvc.util.ScopeConfig
- Try to return a ResourceBundle loaded from the named resource, or null if can't load.
- getProperties() - Static method in class org.scopemvc.util.ScopeConfig
- getProperties() - Static method in class org.scopemvc.util.UIStrings
- getPropertyPrefix() - Method in class org.scopemvc.util.ScopeConfig
- Returns the property name prefix.
- getString(String) - Static method in class org.scopemvc.util.ScopeConfig
- getValue() - Method in class org.scopemvc.util.KeyValue
- gotNext - Variable in class org.scopemvc.util.WeakSet.WeakIterator
- Has the caller obtained the next object yet?
H
- hasNext - Variable in class org.scopemvc.util.WeakSet.WeakIterator
- Is there a next object?
- hasNext() - Method in class org.scopemvc.util.WeakSet.WeakIterator
- Returns true if the iteration has more elements.
- hashCode - Variable in class org.scopemvc.util.WeakSet.WeakEntry
- hashCode() - Method in class org.scopemvc.util.WeakSet.WeakEntry
- hashCode() - Method in class org.scopemvc.util.WeakSet
- Returns the hash code value for this collection.
I
- INSTANCE - Static variable in class org.scopemvc.util.ObjectPoolManager
- The singleton instance of this class
- initialise() - Method in class org.scopemvc.util.ScopeConfig
- Initialises the class by loading in the configuration.
- instance - Static variable in class org.scopemvc.util.ScopeConfig
- isEmpty() - Method in class org.scopemvc.util.WeakSet
- Returns true if this collection contains no elements.
- iterator - Variable in class org.scopemvc.util.WeakSet.WeakIterator
- The "real" iterator over the contents
- iterator() - Method in class org.scopemvc.util.WeakSet
- Returns an iterator over the elements in this collection.
K
- KeyValue - class org.scopemvc.util.KeyValue.
- Holds two Objects: a key and a value.
- KeyValue(Object, Object) - Constructor for class org.scopemvc.util.KeyValue
- key - Variable in class org.scopemvc.util.KeyValue
L
- LOG - Static variable in class org.scopemvc.util.BasicObjectPool
- LOG - Static variable in class org.scopemvc.util.BasicPoolableObjectFactory
- LOG - Static variable in class org.scopemvc.util.Debug
- LOG - Static variable in class org.scopemvc.util.LocalizedException
- LOG - Static variable in class org.scopemvc.util.ObjectPoolManager
- LOG - Static variable in class org.scopemvc.util.ScopeConfig
- LOG - Static variable in class org.scopemvc.util.UIStrings
- LOG - Static variable in class org.scopemvc.util.WeakSet
- LocalizedException - exception org.scopemvc.util.LocalizedException.
-
An Exception that implements
LocalizedException.getLocalizedMessage()55 by looking up its message as an ID that is looked up in UIStrings to present the user with a localised message: message parameters passed in are substituted in the message as java.text.MessageFormat. - LocalizedException(String) - Constructor for class org.scopemvc.util.LocalizedException
- Create with a message id, but no message parameters.
- LocalizedException(String, Object) - Constructor for class org.scopemvc.util.LocalizedException
- Create with a message id and one message parameter.
- LocalizedException(String, Object[]) - Constructor for class org.scopemvc.util.LocalizedException
- Create with a message id and message parameters.
- loadCustomConfig() - Method in class org.scopemvc.util.ScopeConfig
- Attempt to load a custom ResourceBundle called "scope.properties" if it can be found.
- loadDefaultConfig() - Method in class org.scopemvc.util.ScopeConfig
- Load the default config.
- loadSystemConfig() - Method in class org.scopemvc.util.ScopeConfig
- Load Scope config properties from System properties.
- lock - Variable in class org.scopemvc.util.BasicObjectPool
- Used for synchronisation
M
- maxSize - Variable in class org.scopemvc.util.BasicObjectPool
- The maximum number of objects to pool
- messageParameters - Variable in class org.scopemvc.util.LocalizedException
N
- next - Variable in class org.scopemvc.util.WeakSet.WeakIterator
- The next object (if any)
- next() - Method in class org.scopemvc.util.WeakSet.WeakIterator
- Returns the next element in the interation.
O
- ON - Static variable in class org.scopemvc.util.Debug
- Global debug flag to switch debug code on and off.
- ObjectPool - interface org.scopemvc.util.ObjectPool.
- Pool of objects
- ObjectPoolManager - class org.scopemvc.util.ObjectPoolManager.
- Manages pooling of instances of different classes.
- ObjectPoolManager() - Constructor for class org.scopemvc.util.ObjectPoolManager
- Constructor.
- org.scopemvc.util - package org.scopemvc.util
P
- PoolableObjectFactory - interface org.scopemvc.util.PoolableObjectFactory.
- Interface for creating poolable objects.
- passivateObject(Object) - Method in class org.scopemvc.util.BasicPoolableObjectFactory
- Peforms whatever processing is required prior to passivating a pooled object.
- passivateObject(Object) - Method in interface org.scopemvc.util.PoolableObjectFactory
- Peforms whatever processing is required prior to passivating a pooled object.
- poolByClass - Variable in class org.scopemvc.util.ObjectPoolManager
- Object pools keyed by class
- processQueue() - Method in class org.scopemvc.util.WeakSet
- Removes any entries that have been garbage collected.
- properties - Variable in class org.scopemvc.util.ScopeConfig
- The Scope config properties loaded at first access of config.
- properties - Static variable in class org.scopemvc.util.UIStrings
- propertiesName - Static variable in class org.scopemvc.util.UIStrings
- putAll(ResourceBundle) - Method in class org.scopemvc.util.ScopeConfig
- Put properties from the ResourceBundle.
R
- referenceQueue - Variable in class org.scopemvc.util.WeakSet
- References get placed here after they are cleaned up
- remove() - Method in class org.scopemvc.util.WeakSet.WeakIterator
- Removes from the underlying collection the last element returned by the iterator (optional operation).
- remove(Object) - Method in class org.scopemvc.util.WeakSet
- Removes a single instance of the specified element from this collection, if it is present (optional operation).
- removeAll(Collection) - Method in class org.scopemvc.util.WeakSet
- Removes all this collection's elements that are also contained in the specified collection (optional operation).
- retainAll(Collection) - Method in class org.scopemvc.util.WeakSet
- Retains only the elements in this collection that are contained in the specified collection (optional operation).
- returnObject(Object) - Method in class org.scopemvc.util.BasicObjectPool
- Returns an instance to the pool.
- returnObject(Object) - Method in interface org.scopemvc.util.ObjectPool
- Returns an instance to the pool.
- returnObject(Object) - Method in class org.scopemvc.util.ObjectPoolManager
- Returns an instance to the pool.
S
- ScopeConfig - class org.scopemvc.util.ScopeConfig.
- Loads the Scope config in such a way that custom properties can be set from the Java command line (-D switch) or from a custom ResourceBundle.
- ScopeConfig() - Constructor for class org.scopemvc.util.ScopeConfig
- setPropertiesName(String) - Static method in class org.scopemvc.util.ScopeConfig
- Set name of custom properties that will override the DefaultScopeConfig and "scope.properties", but not override any System properties.
- setPropertiesName(String) - Static method in class org.scopemvc.util.UIStrings
- size() - Method in class org.scopemvc.util.WeakSet
- Returns the number of elements in this collection.
T
- Time - class org.scopemvc.util.Time.
- An empty marker subclass of java.util.Date that TimeStringConvertor is associated with in the default configuration.
- Time() - Constructor for class org.scopemvc.util.Time
- Time(long) - Constructor for class org.scopemvc.util.Time
- toArray(Object[]) - Method in class org.scopemvc.util.WeakSet
- Returns an array containing all of the elements in this collection whose runtime type is that of the specified array.
- toArray() - Method in class org.scopemvc.util.WeakSet
- Returns an array containing all of the elements in this collection.
U
- UIStrings - class org.scopemvc.util.UIStrings.
- Uses a ResourceBundle as a dictionary mapping IDs against user-readable Strings that can be presented on the UI.
- UIStrings() - Constructor for class org.scopemvc.util.UIStrings
V
W
- WeakSet - class org.scopemvc.util.WeakSet.
- Holds a set of objects where the fact that the object is contained within the set does not prevent it from being garbage collected.
- WeakSet() - Constructor for class org.scopemvc.util.WeakSet
- Default constructor.
- WeakSet.WeakEntry - class org.scopemvc.util.WeakSet.WeakEntry.
- Wraps an entry with a weak reference.
- WeakSet.WeakEntry(Object) - Constructor for class org.scopemvc.util.WeakSet.WeakEntry
- WeakSet.WeakEntry(Object, ReferenceQueue) - Constructor for class org.scopemvc.util.WeakSet.WeakEntry
- WeakSet.WeakIterator - class org.scopemvc.util.WeakSet.WeakIterator.
- Smart iterator over the contents.
- WeakSet.WeakIterator() - Constructor for class org.scopemvc.util.WeakSet.WeakIterator
A B C D E F G H I K L M N O P R S T U V W
|
|||||||||
| Home >> All >> org >> scopemvc >> [ util overview ] | PREV NEXT | ||||||||