Skip navigation links
A B C D E F G H I J L M N O P R S T U V W X Z 

A

AbstractDetachable<T,Ref> - Class in org.wamblee.persistence
Detachable implementation that takes care of the basic logic for detachable objects.
AbstractDetachable(T) - Constructor for class org.wamblee.persistence.AbstractDetachable
Constructs the detachable.
accept(File) - Method in class org.wamblee.io.RegexFilenameFilter
 
accept(Object) - Method in class org.wamblee.reflection.ObjectTraversal
 
Accessor<T> - Interface in org.wamblee.reflection
Abstraction for accessing fields or properties of an object.
acquire() - Method in class org.wamblee.concurrency.JvmLock
 
acquire() - Method in interface org.wamblee.concurrency.Lock
Acquires the lock.
acquireRead() - Method in class org.wamblee.concurrency.ReadWriteLock
Deprecated.
Acquires the lock for reading.
acquireWrite() - Method in class org.wamblee.concurrency.ReadWriteLock
Deprecated.
Acquires the lock for writing.
addExcludedObject(Object) - Method in class org.wamblee.reflection.ObjectTraversal
Adds an object instance to exclude from traversal.
addFile(String) - Static method in class org.wamblee.classloading.ClassLoaderUtils
Adds a file to the classpath.
addFile(File) - Static method in class org.wamblee.classloading.ClassLoaderUtils
Adds a file to the classpath.
addJarsInDirectory(File) - Static method in class org.wamblee.classloading.ClassLoaderUtils
Adds all jars in the given directory to the class path.
addPrefix(String, String) - Method in class org.wamblee.xml.SimpleNamespaceContext
Adds a prefix.
addURL(URL) - Static method in class org.wamblee.classloading.ClassLoaderUtils
Adds a url to the classpath.
analyse(Class, Class<? extends Annotation>) - Static method in class org.wamblee.reflection.AnnotationUtils
Returns the accessor for a given annotation.
AndCondition<T> - Class in org.wamblee.conditions
Represents a logical and of different boolean conditions.
AndCondition(Condition<T>, Condition<T>) - Constructor for class org.wamblee.conditions.AndCondition
Constructs the condition.
AndCondition(List<Condition<T>>) - Constructor for class org.wamblee.conditions.AndCondition
Constructs the and condition.
AnnotationUtils - Class in org.wamblee.reflection
Utlities for working with annotations.
AnnotationUtils() - Constructor for class org.wamblee.reflection.AnnotationUtils
 

B

BeanFactory - Interface in org.wamblee.ioc
Bean factory used to obtain objects in a transparent way.
BeanFactoryException - Exception in org.wamblee.ioc
Exception thrown by the BeanFactory if an object could not be found.
BeanFactoryException(String) - Constructor for exception org.wamblee.ioc.BeanFactoryException
Constructs the exception.
BeanFactoryException(String, Throwable) - Constructor for exception org.wamblee.ioc.BeanFactoryException
Constructs the exception.
BeanKernel - Class in org.wamblee.ioc
The standard means to obtain the bean factory.
booleanEval(XMLDocument) - Method in class org.wamblee.xml.XPathExpression
Evaluates the xpath expression to a boolean.

C

Cache<KeyType extends Serializable,ValueType extends Serializable> - Interface in org.wamblee.cache
The Cache interface represents a cache intended for application-level caching.
CachedObject<KeyType extends Serializable,ValueType extends Serializable> - Class in org.wamblee.cache
Represents a cached object identified by the key it has in a certain Cache.
CachedObject(Cache<KeyType, ValueType>, KeyType, CachedObject.Computation<KeyType, ValueType>) - Constructor for class org.wamblee.cache.CachedObject
Constructs the cached object.
CachedObject.Computation<Key extends Serializable,Value extends Serializable> - Interface in org.wamblee.cache
Callback invoked to compute an object if it was not found in the cache.
ClassLoaderUtils - Class in org.wamblee.classloading
Utility for adding jars to the system class loader.
ClassLoaderUtils() - Constructor for class org.wamblee.classloading.ClassLoaderUtils
 
ClassPathResource - Class in org.wamblee.io
Represents an input resource in the classpath.
ClassPathResource(String) - Constructor for class org.wamblee.io.ClassPathResource
Construct the class path resource.
ClasspathUriResolver - Class in org.wamblee.xml
URI resolver that resolves stylesheets through the classpath.
ClasspathUriResolver() - Constructor for class org.wamblee.xml.ClasspathUriResolver
Constructs the resolver.
ClasspathUriResolver(String) - Constructor for class org.wamblee.xml.ClasspathUriResolver
Location in the classpath relative to which resolution takes place.
clear() - Method in interface org.wamblee.cache.Cache
Removes all entries from the cache.
clear() - Method in class org.wamblee.cache.EhCache
 
clear() - Method in class org.wamblee.cache.ForeverCache
 
clear() - Method in class org.wamblee.cache.ZeroCache
 
Clock - Interface in org.wamblee.general
Clock abstraction for System.currentTimeMillis().
CollectionFilter - Class in org.wamblee.collections
Collection filter for filtering collections based on a certain condition.
CollectionFilter() - Constructor for class org.wamblee.collections.CollectionFilter
 
compareTo(Id<T>) - Method in class org.wamblee.general.Id
 
compute() - Method in interface org.wamblee.cache.ComputedValue.Computation
Computes the object.
compute() - Method in class org.wamblee.cache.ComputedValue
Triggers computation of the value (if no other thread is currently computing the value).
ComputedValue<T> - Class in org.wamblee.cache
Utility class to deal with recomputation of a certain value.
ComputedValue(Object, ComputedValue.Computation) - Constructor for class org.wamblee.cache.ComputedValue
Constructs the compute guard
ComputedValue.Computation<T> - Interface in org.wamblee.cache
Computation
Condition<T> - Interface in org.wamblee.conditions
Determines if an object matches a certain condition.
create() - Method in interface org.wamblee.general.ThreadSpecificProxyFactory.CreationCallback
Creates the object.
create(Object) - Static method in class org.wamblee.persistence.PersistentFactory
Creates the Persistent wrapper for interfacing with primary key and version of the entity.
createEntityAccessor(Class) - Static method in class org.wamblee.persistence.PersistentFactory
Create the entity accessor for a given class or returns a cached instance if one already exists.
createExpression(String) - Method in class org.wamblee.xml.XPathContext
Creates the expression.
currentTimeMillis() - Method in interface org.wamblee.general.Clock
 
currentTimeMillis() - Method in class org.wamblee.general.SystemClock
 

D

defaultNamespace(String) - Method in class org.wamblee.xml.SimpleNamespaceContext
Sets the default namespace.
DefaultObserverNotifier<ObservableType,Event> - Class in org.wamblee.observer
Default observer notifier which calls org.wamblee.observer.Observer#send(ObservableType, Event) immediately.
DefaultObserverNotifier() - Constructor for class org.wamblee.observer.DefaultObserverNotifier
Constructs the notifier.
deserialize(byte[], Class<T>) - Static method in class org.wamblee.general.ObjectSerializationUtils
Desrializes an object from a byte array.
detach() - Method in class org.wamblee.persistence.AbstractDetachable
 
detach() - Method in interface org.wamblee.persistence.Detachable
Detaches the object.
detach() - Method in class org.wamblee.persistence.InMemoryDetachable
 
Detachable<T> - Interface in org.wamblee.persistence
Represents a detachable object.
DirectoryMonitor - Class in org.wamblee.io
Monitors a directory for changes.
DirectoryMonitor(File, FileFilter, DirectoryMonitor.Listener) - Constructor for class org.wamblee.io.DirectoryMonitor
Creates a new DirectoryMonitor object.
DirectoryMonitor.Listener - Interface in org.wamblee.io
Listener interface to be provided by users of the directory monitor to get notified of changes.
DomUtils - Class in org.wamblee.xml
Some basic XML utilities for common reoccuring tasks for DOM documents.

E

EhCache<KeyType extends Serializable,ValueType extends Serializable> - Class in org.wamblee.cache
Cache implemented on top of EhCache.
EhCache(InputResource, String) - Constructor for class org.wamblee.cache.EhCache
Constructs a cache based on EHCache.
EntityObjectAccessor(Object, PersistentFactory.EntityAccessor) - Constructor for class org.wamblee.persistence.PersistentFactory.EntityObjectAccessor
 
equals(Object) - Method in class org.wamblee.general.Id
 
equals(Object) - Method in class org.wamblee.general.ObjectElem
 

F

FieldAccessor<T> - Class in org.wamblee.reflection
Utility for interfacing to a field of an object.
FieldAccessor(Field) - Constructor for class org.wamblee.reflection.FieldAccessor
Constructs the accessor.
fileChanged(File) - Method in interface org.wamblee.io.DirectoryMonitor.Listener
 
fileCreated(File) - Method in interface org.wamblee.io.DirectoryMonitor.Listener
 
fileDeleted(File) - Method in interface org.wamblee.io.DirectoryMonitor.Listener
 
FileResource - Class in org.wamblee.io
Resource implemention for reading from a file.
FileResource(File) - Constructor for class org.wamblee.io.FileResource
Constructs the resource.
filter(Collection<T>, Collection<T>, Condition<T>) - Static method in class org.wamblee.collections.CollectionFilter
Filters a collection by adding all elements in the from collection that satisfy a given condition to the to collection.
find(String) - Method in interface org.wamblee.ioc.BeanFactory
Finds a bean based on id.
find(Class<T>) - Method in interface org.wamblee.ioc.BeanFactory
 
find(String, Class<T>) - Method in interface org.wamblee.ioc.BeanFactory
 
FixedCondition<T> - Class in org.wamblee.conditions
Condition which always returns a fixed value.
FixedCondition(boolean) - Constructor for class org.wamblee.conditions.FixedCondition
Constructs the condition.
ForeverCache<KeyType extends Serializable,ValueType extends Serializable> - Class in org.wamblee.cache
A very simple cache based on a HashMap, It never expires any entries, and has no bounds on its size.
ForeverCache() - Constructor for class org.wamblee.cache.ForeverCache
Constructs the cache.

G

get(KeyType) - Method in interface org.wamblee.cache.Cache
Retrieves a value from the cache.
get() - Method in class org.wamblee.cache.CachedObject
Gets the object.
get() - Method in class org.wamblee.cache.ComputedValue
Gets the current value of the object, recomputing it if the object is out of date.
get(KeyType) - Method in class org.wamblee.cache.EhCache
 
get(KeyType) - Method in class org.wamblee.cache.ForeverCache
 
get(KeyType) - Method in class org.wamblee.cache.ZeroCache
 
get() - Method in class org.wamblee.general.SerializableProxyFactory
Gets the underlying service.
get() - Method in class org.wamblee.general.ThreadSpecificProxyFactory
Gets the current thread-specific service.
get() - Method in class org.wamblee.persistence.AbstractDetachable
 
get() - Method in interface org.wamblee.persistence.Detachable
Gets the object, attaching it if needed.
get() - Method in class org.wamblee.persistence.InMemoryDetachable
 
get(Object) - Method in interface org.wamblee.reflection.Accessor
Gets the value.
get(Object) - Method in class org.wamblee.reflection.FieldAccessor
 
get(Object) - Method in class org.wamblee.reflection.PropertyAccessor
 
getAccessor() - Method in class org.wamblee.persistence.PersistentFactory.EntityObjectAccessor
 
getAllFields(Class, Class...) - Static method in class org.wamblee.reflection.ReflectionUtils
 
getAllMethods(Class, Class...) - Static method in class org.wamblee.reflection.ReflectionUtils
 
getBeanFactory() - Static method in class org.wamblee.ioc.BeanKernel
Gets the bean factory.
getCache() - Method in class org.wamblee.cache.CachedObject
Gets the cache.
getCached() - Method in class org.wamblee.cache.ComputedValue
Gets the currently cached value.
getDocument() - Method in class org.wamblee.xml.XMLDocument
 
getDomImplementationLS() - Static method in class org.wamblee.xml.DomUtils
Gets a dom level 3 implementation.
getDOMSource() - Method in class org.wamblee.xml.XMLDocument
 
getExpression() - Method in class org.wamblee.xml.XPathExpression
 
getExpressionString() - Method in class org.wamblee.xml.XPathExpression
 
getField() - Method in class org.wamblee.reflection.FieldAccessor
Gets the field.
getFirst() - Method in class org.wamblee.general.Pair
Gets the first object of the pair.
getGetter() - Method in class org.wamblee.reflection.PropertyAccessor
 
getId() - Method in class org.wamblee.general.Id
 
getInputStream() - Method in class org.wamblee.io.ClassPathResource
 
getInputStream() - Method in class org.wamblee.io.FileResource
 
getInputStream() - Method in interface org.wamblee.io.InputResource
Gets the input stream to the resource.
getInputStream() - Method in class org.wamblee.io.StreamResource
 
getNamespaceURI(String) - Method in class org.wamblee.xml.SimpleNamespaceContext
 
getObject(Key) - Method in interface org.wamblee.cache.CachedObject.Computation
Gets the object.
getObserverCount() - Method in class org.wamblee.observer.Observable
Gets the number of subscribed observers.
getPersistedVersion() - Method in interface org.wamblee.persistence.Persistent
Gets the version.
getPersistedVersion() - Method in class org.wamblee.persistence.PersistentFactory.EntityObjectAccessor
 
getPrefix(String) - Method in class org.wamblee.xml.SimpleNamespaceContext
 
getPrefixes(String) - Method in class org.wamblee.xml.SimpleNamespaceContext
 
getPrefixList(String) - Method in class org.wamblee.xml.SimpleNamespaceContext
 
getPrimaryKey() - Method in interface org.wamblee.persistence.Persistent
Gets the primary key.
getPrimaryKey() - Method in class org.wamblee.persistence.PersistentFactory.EntityObjectAccessor
 
getProxy(T, Class...) - Method in class org.wamblee.concurrency.ReadWriteLockProxyFactory
Gets the proxy that delegates to the thread-specific instance set by #set(Object) When at runtime the proxy cannot find lookup the object in JNDI, it throws LookupException.
getProxy() - Method in class org.wamblee.general.LookupProxyFactory
Gets the proxy that delegates to the instance obtained through the lookup interface.
getProxy() - Method in class org.wamblee.general.SerializableProxyFactory
Gets the serializable proxy that delegates to the object passed in the constructor.
getProxy() - Method in class org.wamblee.general.ThreadSpecificProxyFactory
Gets the proxy that delegates to the thread-specific instance set by ThreadSpecificProxyFactory.set(Object)
getReference(T) - Method in class org.wamblee.persistence.AbstractDetachable
Obtains the reference for a given object.
getReference(T) - Method in class org.wamblee.persistence.JpaDetachable
 
getSecond() - Method in class org.wamblee.general.Pair
Gets the second object of the pair.
getSetter() - Method in class org.wamblee.reflection.PropertyAccessor
 
getStderr() - Method in class org.wamblee.io.SimpleProcess
 
getStdout() - Method in class org.wamblee.io.SimpleProcess
 
getType() - Method in interface org.wamblee.reflection.Accessor
Gets the type of the value.
getType() - Method in class org.wamblee.reflection.FieldAccessor
 
getType() - Method in class org.wamblee.reflection.PropertyAccessor
 
getValue() - Method in class org.wamblee.general.ValueHolder
 
getXpath() - Method in class org.wamblee.xml.XPathContext
To get access to the lower level API.

H

hashCode() - Method in class org.wamblee.general.Id
 
hashCode() - Method in class org.wamblee.general.ObjectElem
 

I

Id<T> - Class in org.wamblee.general
This class provides a generic typesafe id wrapping a long value.
Id(String) - Constructor for class org.wamblee.general.Id
Constructs the id.
InMemoryDetachable<T> - Class in org.wamblee.persistence
Inmemory detachable that simply returns the object passed in.
InMemoryDetachable(T) - Constructor for class org.wamblee.persistence.InMemoryDetachable
Constructs the detachable.
InputResource - Interface in org.wamblee.io
Represents a resource from which information can be read.
invalidate() - Method in class org.wamblee.cache.CachedObject
Invalidates the cache for the object so that it is recomputed the next time it is requested.
isOutOfDate() - Method in interface org.wamblee.cache.ComputedValue.Computation
Checks whether the object is out of date.
isPrimitive(Class) - Static method in class org.wamblee.reflection.ReflectionUtils
Checks if a class is a primitive type or wrapper type.

J

JpaDetachable<T> - Class in org.wamblee.persistence
Detachable JPA entity.
JpaDetachable(EntityManager, T) - Constructor for class org.wamblee.persistence.JpaDetachable
Constructs the detachable.
JpaMergeSupport - Class in org.wamblee.persistence
Support for merging of JPA entities.
JpaMergeSupport() - Constructor for class org.wamblee.persistence.JpaMergeSupport
Constructs the object.
JvmLock - Class in org.wamblee.concurrency
In memory JVM lock.
JvmLock() - Constructor for class org.wamblee.concurrency.JvmLock
In-memory lock.

L

load(Ref) - Method in class org.wamblee.persistence.AbstractDetachable
Loads the object based on a reference.
load(Serializable) - Method in class org.wamblee.persistence.JpaDetachable
 
Lock - Interface in org.wamblee.concurrency
Represents a re-entrant lock.
LOGGER - Static variable in class org.wamblee.reflection.ObjectTraversal
 
lookup() - Method in interface org.wamblee.general.LookupProxyFactory.Lookup
Looks up the object.
LookupException(String, Throwable) - Constructor for exception org.wamblee.general.LookupProxyFactory.LookupException
 
LookupException(String) - Constructor for exception org.wamblee.general.LookupProxyFactory.LookupException
 
LookupProxyFactory<T> - Class in org.wamblee.general
Proxy factory that can provide contextual references to objects retrieved through a lookup mechanism.
LookupProxyFactory(Class<T>, LookupProxyFactory.Lookup) - Constructor for class org.wamblee.general.LookupProxyFactory
Constructs the factory.
LookupProxyFactory.Lookup - Interface in org.wamblee.general
Interface to lookup the object to delegate to.
LookupProxyFactory.LookupException - Exception in org.wamblee.general
Exception thrown in case an object cannot be retrieved from JNDI.

M

matches(T) - Method in class org.wamblee.conditions.AndCondition
 
matches(T) - Method in interface org.wamblee.conditions.Condition
Determines if an object matches a condition.
matches(T) - Method in class org.wamblee.conditions.FixedCondition
 
matches(T) - Method in class org.wamblee.conditions.OrCondition
 
matches(T) - Method in class org.wamblee.conditions.PropertyRegexCondition
 
merge(Object, Object) - Static method in class org.wamblee.persistence.JpaMergeSupport
As #merge(Persistent) but with a given template.
mustVisit(Class) - Method in interface org.wamblee.reflection.ObjectTraversal.ObjectVisitor
Determines if the given class must be visited.
mustVisit(Field) - Method in interface org.wamblee.reflection.ObjectTraversal.ObjectVisitor
Determines if a given field must be visited.
mustVisit(Method) - Method in interface org.wamblee.reflection.ObjectTraversal.ObjectVisitor
Determines if the given property accessor must be visited.

N

namespaceContext() - Static method in class org.wamblee.xml.SimpleNamespaceContext
Constructs empty context (for use with static imports).
namespaceContext(String, String) - Static method in class org.wamblee.xml.SimpleNamespaceContext
Constructs a context with a single prefix (for use with static imports).
namespaces() - Static method in class org.wamblee.xml.SimpleNamespaceContext
Creation of the namespace context for use with static imports.
nodeEval(XMLDocument) - Method in class org.wamblee.xml.XPathExpression
Evaluates the xpath expression to a Node.
nodelistEval(XMLDocument) - Method in class org.wamblee.xml.XPathExpression
Evaluates the xpath expression to a node list.
numberEval(XMLDocument) - Method in class org.wamblee.xml.XPathExpression
Evaluates the xpath expression to a number.

O

ObjectElem - Class in org.wamblee.general
This class provided an equality operation based on the object reference of the wrapped object.
ObjectElem(Object) - Constructor for class org.wamblee.general.ObjectElem
Constructs the wrapper.
ObjectSerializationUtils - Class in org.wamblee.general
Utility for serializating and deserializing objects.
ObjectSerializationUtils() - Constructor for class org.wamblee.general.ObjectSerializationUtils
 
ObjectTraversal - Class in org.wamblee.reflection
Class encapsulating object traversal through the fields and properties of an object.
ObjectTraversal(ObjectTraversal.ObjectVisitor) - Constructor for class org.wamblee.reflection.ObjectTraversal
Constructs the traversal.
ObjectTraversal.ObjectVisitor - Interface in org.wamblee.reflection
Visitor interface to be implemented for object traversal.
Observable<ObservableType,Event> - Class in org.wamblee.observer
Implements subscription and notification logic for an observer pattern.
Observable(ObservableType, ObserverNotifier<ObservableType, Event>) - Constructor for class org.wamblee.observer.Observable
Constructs the observable.
Observer<ObservableType,Event> - Interface in org.wamblee.observer
This is a type-safe version of Observable.
ObserverNotifier<ObservableType,Event> - Interface in org.wamblee.observer
Implementation of notification of subscribers.
OrCondition<T> - Class in org.wamblee.conditions
Represents a logical or of different boolean conditions.
OrCondition(Condition<T>, Condition<T>) - Constructor for class org.wamblee.conditions.OrCondition
Constructs the condition.
OrCondition(List<Condition<T>>) - Constructor for class org.wamblee.conditions.OrCondition
Constructs the or condition.
org.wamblee.cache - package org.wamblee.cache
This package provides an interface for a cache together with several implementations.
org.wamblee.classloading - package org.wamblee.classloading
Various classloading utilities.
org.wamblee.collections - package org.wamblee.collections
Collection utilities.
org.wamblee.concurrency - package org.wamblee.concurrency
This package provides utilities for dealing with concurrency.
org.wamblee.conditions - package org.wamblee.conditions
This package provides some basic support classes for checking boolean conditions on objects.
org.wamblee.general - package org.wamblee.general
General purpose support classes.
org.wamblee.io - package org.wamblee.io
This package provides several support utilities for IO related functionality.
org.wamblee.ioc - package org.wamblee.ioc
Several utilities for abstracting the IOC container which is used.
org.wamblee.observer - package org.wamblee.observer
Support for the observer pattern.
org.wamblee.persistence - package org.wamblee.persistence
Utilities for (JPA) persistence.
org.wamblee.reflection - package org.wamblee.reflection
Utilities for reflection.
org.wamblee.xml - package org.wamblee.xml
Utilities for XML processing.
overrideBeanFactory(BeanFactory) - Static method in class org.wamblee.ioc.BeanKernel
Overrides the default mechanism for looking up the bean factory by specifying it yourself.

P

Pair<T,U> - Class in org.wamblee.general
Represents a pair of objects.
Pair(T, U) - Constructor for class org.wamblee.general.Pair
Constructs the pair.
Pair(Pair<T, U>) - Constructor for class org.wamblee.general.Pair
Copies a pair.
Persistent - Interface in org.wamblee.persistence
Interface for persistent objects.
PersistentFactory - Class in org.wamblee.persistence
Factory which creates a Persistent object for a given JPA entity for interfacing with the primary key and version of the entity.
PersistentFactory() - Constructor for class org.wamblee.persistence.PersistentFactory
 
PersistentFactory.EntityObjectAccessor - Class in org.wamblee.persistence
 
poll() - Method in class org.wamblee.io.DirectoryMonitor
Polls the directory for changes and notifies the listener of any changes.
PRIMITIVE_WRAPPERS - Static variable in class org.wamblee.reflection.ReflectionUtils
 
print(OutputStream, boolean) - Method in class org.wamblee.xml.XMLDocument
Prints an XML document.
print(boolean) - Method in class org.wamblee.xml.XMLDocument
Prints an XML document.
process(XMLProcessor) - Method in class org.wamblee.xml.XMLDocument
 
process(DOMSource) - Method in interface org.wamblee.xml.XMLProcessor
Processes a document.
process(DOMSource) - Method in class org.wamblee.xml.XMLSchema
 
process(DOMSource) - Method in class org.wamblee.xml.XSLTransformation
 
processArray(Object) - Method in class org.wamblee.reflection.ObjectTraversal
 
processList(List, List, List<ObjectElem>) - Static method in class org.wamblee.persistence.JpaMergeSupport
Process the persistent objects in the collections.
processMap(Map<Key, Value>, Map<Key, Value>, List<ObjectElem>) - Static method in class org.wamblee.persistence.JpaMergeSupport
Process the Map objects in the collections.
processMap(Map<Key, Value>) - Method in class org.wamblee.reflection.ObjectTraversal
 
processPersistent(Object, Object, List<ObjectElem>) - Static method in class org.wamblee.persistence.JpaMergeSupport
Copies primary keys and version from the result of the merged to the object that was passed to the merge operation.
processSet(Set, Set, List<ObjectElem>) - Static method in class org.wamblee.persistence.JpaMergeSupport
Process the persistent objects in sets.
PropertyAccessor<T> - Class in org.wamblee.reflection
Accessing a property of an object.
PropertyAccessor(Method, Method) - Constructor for class org.wamblee.reflection.PropertyAccessor
Constructs the accessor.
PropertyRegexCondition<T> - Class in org.wamblee.conditions
Condition to check whether a given property of an object matches a certain regular expression.
PropertyRegexCondition(String, String, boolean) - Constructor for class org.wamblee.conditions.PropertyRegexCondition
Constructs the condition.
put(KeyType, ValueType) - Method in interface org.wamblee.cache.Cache
Adds a key-value pair to the cache.
put(KeyType, ValueType) - Method in class org.wamblee.cache.EhCache
 
put(KeyType, ValueType) - Method in class org.wamblee.cache.ForeverCache
 
put(KeyType, ValueType) - Method in class org.wamblee.cache.ZeroCache
 

R

ReadLock - Annotation Type in org.wamblee.concurrency
Annotation to apply to method to indicated they should be protected by a read-lock, see ReadWriteLockProxyFactory.
ReadWriteLock - Class in org.wamblee.concurrency
Deprecated.
ReadWriteLock() - Constructor for class org.wamblee.concurrency.ReadWriteLock
Deprecated.
Constructs read-write lock.
ReadWriteLockProxyFactory<T> - Class in org.wamblee.concurrency
Proxy factory that provides locking using ReentrantReadWriteLock based on the ReadLock and WriteLock annotations.
ReadWriteLockProxyFactory() - Constructor for class org.wamblee.concurrency.ReadWriteLockProxyFactory
Constructs the factory.
ReflectionUtils - Class in org.wamblee.reflection
Some utilities for reflection.
ReflectionUtils() - Constructor for class org.wamblee.reflection.ReflectionUtils
 
RegexFilenameFilter - Class in org.wamblee.io
Filename filter based on regular expressions.
RegexFilenameFilter(String) - Constructor for class org.wamblee.io.RegexFilenameFilter
Constructs the filter.
release() - Method in class org.wamblee.concurrency.JvmLock
 
release() - Method in interface org.wamblee.concurrency.Lock
Releases the lock.
releaseRead() - Method in class org.wamblee.concurrency.ReadWriteLock
Deprecated.
Releases the lock for reading.
releaseWrite() - Method in class org.wamblee.concurrency.ReadWriteLock
Deprecated.
Releases the lock for writing.
remove(KeyType) - Method in interface org.wamblee.cache.Cache
Removes an entry from the cache.
remove(KeyType) - Method in class org.wamblee.cache.EhCache
 
remove(KeyType) - Method in class org.wamblee.cache.ForeverCache
 
remove(KeyType) - Method in class org.wamblee.cache.ZeroCache
 
removeDuplicateAttributes(Node) - Static method in class org.wamblee.xml.DomUtils
Removes duplicate attributes from a DOM tree.This is useful for postprocessing the output of JTidy as a workaround for a bug in JTidy.
resolve(String, String) - Method in class org.wamblee.xml.ClasspathUriResolver
 
resolveResource(String, String, String, String, String) - Method in class org.wamblee.xml.ClasspathUriResolver
 
run() - Method in class org.wamblee.io.SimpleProcess
Runs the process and blocks until it is done.

S

schema(URI) - Static method in class org.wamblee.xml.XMLSchema
 
schema(String, LSResourceResolver) - Static method in class org.wamblee.xml.XMLSchema
 
send(Event) - Method in class org.wamblee.observer.Observable
Notifies all subscribed observers.
send(ObservableType, Event) - Method in interface org.wamblee.observer.Observer
Called when an event has occurred on the observable.
SerializableProxyFactory<T> - Class in org.wamblee.general
Serializable proxy factory that allows to create serializable proxies to objects that are themselves not serializable.
SerializableProxyFactory(Class<T>, T) - Constructor for class org.wamblee.general.SerializableProxyFactory
Constructs the factory with a callback to create thread-specific objects automatically.
serialize(Object) - Static method in class org.wamblee.general.ObjectSerializationUtils
Serialize an object to a byte array.
set(T) - Method in class org.wamblee.cache.ComputedValue
Sets the value explicitly.
set(T) - Method in class org.wamblee.general.ThreadSpecificProxyFactory
Sets the thread-specific service.
set(Object, T) - Method in interface org.wamblee.reflection.Accessor
Sets the value.
set(Object, T) - Method in class org.wamblee.reflection.FieldAccessor
 
set(Object, T) - Method in class org.wamblee.reflection.PropertyAccessor
 
setPersistedVersion(Number) - Method in interface org.wamblee.persistence.Persistent
Sets the version.
setPersistedVersion(Number) - Method in class org.wamblee.persistence.PersistentFactory.EntityObjectAccessor
 
setPrettyPrint(boolean) - Method in class org.wamblee.xml.XSLTransformation
Configure the transformation to do pretty-printing.
setPrimaryKey(Serializable) - Method in interface org.wamblee.persistence.Persistent
Sets the primary key.
setPrimaryKey(Serializable) - Method in class org.wamblee.persistence.PersistentFactory.EntityObjectAccessor
 
setValue(T) - Method in class org.wamblee.general.ValueHolder
Set the value.
SimpleNamespaceContext - Class in org.wamblee.xml
Implementation of NamespaceContext for binding namespace prefixes to namespaces.
SimpleNamespaceContext() - Constructor for class org.wamblee.xml.SimpleNamespaceContext
Constructs an empty context without prefixes.
SimpleNamespaceContext(String, String) - Constructor for class org.wamblee.xml.SimpleNamespaceContext
Constructs a context with a single prefix.
SimpleProcess - Class in org.wamblee.io
 
SimpleProcess(File, String[]) - Constructor for class org.wamblee.io.SimpleProcess
Creates a new SimpleProcess object.
StreamResource - Class in org.wamblee.io
Input resource based on an input stream.
StreamResource(InputStream) - Constructor for class org.wamblee.io.StreamResource
Constructs a resource.
stringEval(XMLDocument) - Method in class org.wamblee.xml.XPathExpression
Evaluates the xpath expression to a string.
subscribe(Observer<ObservableType, Event>) - Method in class org.wamblee.observer.Observable
Subscribe an obvers.
SystemClock - Class in org.wamblee.general
Default clock implementation delegating to the system clock.
SystemClock() - Constructor for class org.wamblee.general.SystemClock
 

T

ThreadSpecificProxyFactory<T> - Class in org.wamblee.general
Thread-specific proxy is used to create implementations of interfaces that delegate to a thread-specific implementation of the service.
ThreadSpecificProxyFactory(Class<T>) - Constructor for class org.wamblee.general.ThreadSpecificProxyFactory
Constructs the factory.
ThreadSpecificProxyFactory(Class<T>, ThreadSpecificProxyFactory.CreationCallback<T>) - Constructor for class org.wamblee.general.ThreadSpecificProxyFactory
Constructs the factory with a callback to create thread-specific objects automatically.
ThreadSpecificProxyFactory.CreationCallback<T> - Interface in org.wamblee.general
Optional callback invoked to create the thread-specific object when there is no object yet associated with the current thread.
toString() - Method in class org.wamblee.general.Id
 
toString() - Method in class org.wamblee.io.ClassPathResource
 
toString() - Method in class org.wamblee.io.SimpleProcess
 
toString() - Method in class org.wamblee.reflection.FieldAccessor
 
toString() - Method in class org.wamblee.reflection.PropertyAccessor
 
transform(URI) - Method in class org.wamblee.xml.XMLDocument
 
transform(String, URIResolver) - Method in class org.wamblee.xml.XMLDocument
 
transformation(URI) - Method in class org.wamblee.xml.XSLTransformation
 
transformation(String, URIResolver) - Method in class org.wamblee.xml.XSLTransformation
 

U

unsubscribe(long) - Method in class org.wamblee.observer.Observable
Unsubscribe an observer.
update(Observer<ObservableType, Event>, ObservableType, Event) - Method in class org.wamblee.observer.DefaultObserverNotifier
 
update(Observer<ObservableType, Event>, ObservableType, Event) - Method in interface org.wamblee.observer.ObserverNotifier
Notifies an observer.

V

validate(URI) - Method in class org.wamblee.xml.XMLDocument
 
validate(String, LSResourceResolver) - Method in class org.wamblee.xml.XMLDocument
 
validate(XMLDocument) - Method in class org.wamblee.xml.XMLSchema
 
validate(DOMSource) - Method in class org.wamblee.xml.XMLSchema
 
ValueHolder<T> - Class in org.wamblee.general
Object that holds a value of some type.
ValueHolder() - Constructor for class org.wamblee.general.ValueHolder
Constructs with null value.
ValueHolder(T) - Constructor for class org.wamblee.general.ValueHolder
Constructs with given value.
visitArray(Object) - Method in interface org.wamblee.reflection.ObjectTraversal.ObjectVisitor
Visit a collection
visitList(List) - Method in interface org.wamblee.reflection.ObjectTraversal.ObjectVisitor
Visit a collection
visitMap(Map) - Method in interface org.wamblee.reflection.ObjectTraversal.ObjectVisitor
Visit a collection
visitPlainObject(Object) - Method in interface org.wamblee.reflection.ObjectTraversal.ObjectVisitor
Visit an object.
visitSet(Set) - Method in interface org.wamblee.reflection.ObjectTraversal.ObjectVisitor
Visit a collection

W

wrapIfNeeded(Class) - Static method in class org.wamblee.reflection.ReflectionUtils
Wraps a type by the corresponding wrapper type if it is a primitive type.
write(XMLTextProcessor, OutputStream) - Method in class org.wamblee.xml.XMLDocument
 
write(XMLTextProcessor) - Method in class org.wamblee.xml.XMLDocument
 
write(DOMSource, OutputStream) - Method in interface org.wamblee.xml.XMLTextProcessor
Writes a document.
write(DOMSource, OutputStream) - Method in class org.wamblee.xml.XSLTransformation
 
WriteLock - Annotation Type in org.wamblee.concurrency
Annotation to apply to method to indicated they should be protected by a write-lock, see ReadWriteLockProxyFactory.

X

XMLDocument - Class in org.wamblee.xml
Convenience class for representing an XML document.
XMLDocument(DOMSource) - Constructor for class org.wamblee.xml.XMLDocument
 
XMLDocument(URI) - Constructor for class org.wamblee.xml.XMLDocument
 
XMLDocument(String, String) - Constructor for class org.wamblee.xml.XMLDocument
 
XMLDocument(String, InputStream) - Constructor for class org.wamblee.xml.XMLDocument
 
XMLDocument(String, LSResourceResolver) - Constructor for class org.wamblee.xml.XMLDocument
 
xmldocument(URI) - Static method in class org.wamblee.xml.XMLDocument
 
xmldocument(String, String) - Static method in class org.wamblee.xml.XMLDocument
 
xmldocument(String, InputStream) - Static method in class org.wamblee.xml.XMLDocument
 
xmldocument(String, LSResourceResolver) - Static method in class org.wamblee.xml.XMLDocument
 
XMLException - Exception in org.wamblee.xml
Exception thrown in case of XML parsing problems.
XMLException(String) - Constructor for exception org.wamblee.xml.XMLException
Creates a new XMLException object.
XMLException(String, Throwable) - Constructor for exception org.wamblee.xml.XMLException
Creates a new XMLException object.
XMLProcessor - Interface in org.wamblee.xml
Generic XML processor.
XMLSchema - Class in org.wamblee.xml
Represents an XML Schema.
XMLSchema(URI) - Constructor for class org.wamblee.xml.XMLSchema
 
XMLSchema(String, LSResourceResolver) - Constructor for class org.wamblee.xml.XMLSchema
 
XMLTextProcessor - Interface in org.wamblee.xml
Represents an XML Processor that processes an XML file into text.
XPathContext - Class in org.wamblee.xml
Represents a namespace context and is a factory for creating xpath expressions.
XPathContext(NamespaceContext) - Constructor for class org.wamblee.xml.XPathContext
Constructs the context.
xpathcontext(NamespaceContext) - Static method in class org.wamblee.xml.XPathContext
Creation of the XPath context for use with static imports.
XPathExpression - Class in org.wamblee.xml
XPath expression.
XPathExpression(XPath, String) - Constructor for class org.wamblee.xml.XPathExpression
Constructs the expression.
XSLTransformation - Class in org.wamblee.xml
Represents an XSL Transformation.
XSLTransformation() - Constructor for class org.wamblee.xml.XSLTransformation
Identity transform.
XSLTransformation(URI) - Constructor for class org.wamblee.xml.XSLTransformation
 
XSLTransformation(String, URIResolver) - Constructor for class org.wamblee.xml.XSLTransformation
 

Z

ZeroCache<KeyType extends Serializable,ValueType extends Serializable> - Class in org.wamblee.cache
A cache that does not cache.
ZeroCache() - Constructor for class org.wamblee.cache.ZeroCache
Creates a new ZeroCache object.
A B C D E F G H I J L M N O P R S T U V W X Z 
Skip navigation links

Copyright © 2022. All rights reserved.