Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
I
J
L
M
O
P
R
S
T
U
W
X
Z
A
AbstractPersistent
- Class in
org.wamblee.persistence
Default implementation of Persistent.
AbstractPersistent()
- Constructor for class org.wamblee.persistence.
AbstractPersistent
Constructs the object.
AbstractPersistent(AbstractPersistent)
- Constructor for class org.wamblee.persistence.
AbstractPersistent
Copy constructor.
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
Acquires the lock for reading.
acquireWrite()
- Method in class org.wamblee.concurrency.
ReadWriteLock
Acquires the lock for writing.
addFile(String)
- Static method in class org.wamblee.general.
ClassLoaderUtils
Adds a file to the classpath.
addFile(File)
- Static method in class org.wamblee.general.
ClassLoaderUtils
Adds a file to the classpath.
addJarsInDirectory(File)
- Static method in class org.wamblee.general.
ClassLoaderUtils
Adds all jars in the given directory to the class path.
addURL(URL)
- Static method in class org.wamblee.general.
ClassLoaderUtils
Adds a url to the classpath.
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.
B
BeanFactory
- Interface in
org.wamblee.general
Bean factory used to obtain objects in a transparent way.
BeanFactoryException
- Exception in
org.wamblee.general
Exception thrown by the BeanFactory if an object could not be found.
BeanFactoryException(String)
- Constructor for exception org.wamblee.general.
BeanFactoryException
Constructs the exception.
BeanFactoryException(String, Throwable)
- Constructor for exception org.wamblee.general.
BeanFactoryException
Constructs the exception.
BeanKernel
- Class in
org.wamblee.general
The standard means to obtain the bean factory.
C
Cache
<
KeyType
extends java.io.Serializable,
ValueType
extends java.io.Serializable> - Interface in
org.wamblee.cache
The
Cache
interface represents...
CachedObject
<
KeyType
extends java.io.Serializable,
ValueType
extends java.io.Serializable> - Class in
org.wamblee.cache
Represents a cached object.
CachedObject(Cache<KeyType, ValueType>, KeyType, CachedObject.Computation<KeyType, ValueType>)
- Constructor for class org.wamblee.cache.
CachedObject
Constructs the cached object.
CachedObject.Computation
<
Key
extends java.io.Serializable,
Value
extends java.io.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.general
Utility for working with the class loader.
ClassLoaderUtils()
- Constructor for class org.wamblee.general.
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.
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
CollectionFilter
- Class in
org.wamblee.collections
CollectionFilter()
- Constructor for class org.wamblee.collections.
CollectionFilter
Condition
<
T
> - Interface in
org.wamblee.conditions
Determines if an object matches a certain condition.
convert(Document)
- Static method in class org.wamblee.xml.
DomUtils
Converts a dom4j document into a w3c DOM document.
convert(Document)
- Static method in class org.wamblee.xml.
DomUtils
Converts a W3C DOM document into a dom4j document.
D
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.
DirectoryMonitor
- Class in
org.wamblee.io
Monitors a directory for changes.
DirectoryMonitor(File, FileFilter, DirectoryMonitor.Listener)
- Constructor for class org.wamblee.io.
DirectoryMonitor
DirectoryMonitor.Listener
- Interface in
org.wamblee.io
DomUtils
- Class in
org.wamblee.xml
Some basic XML utilities for common reoccuring tasks for DOM documents.
E
EhCache
<
KeyType
extends java.io.Serializable,
ValueType
extends java.io.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.
F
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.
finalize()
- Method in class org.wamblee.observer.
Observable
find(String)
- Method in interface org.wamblee.general.
BeanFactory
Finds a bean based on id.
find(Class<T>)
- Method in interface org.wamblee.general.
BeanFactory
Finds a bean of the given class and which can be cast to the specified class.
find(String, Class<T>)
- Method in interface org.wamblee.general.
BeanFactory
Finds a bean with the given id which can be cast to the specified class.
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 java.io.Serializable,
ValueType
extends java.io.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(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
getAllMethods(Class)
- Static method in class org.wamblee.reflection.
ReflectionUtils
getBeanFactory()
- Static method in class org.wamblee.general.
BeanKernel
Gets the bean factory.
getCache()
- Method in class org.wamblee.cache.
CachedObject
Gets the cache.
getFirst()
- Method in class org.wamblee.general.
Pair
Gets the first object of the pair.
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
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 class org.wamblee.persistence.
AbstractPersistent
getPersistedVersion()
- Method in interface org.wamblee.persistence.
Persistent
Gets the version.
getPrimaryKey()
- Method in class org.wamblee.persistence.
AbstractPersistent
getPrimaryKey()
- Method in interface org.wamblee.persistence.
Persistent
Gets the primary key.
getSecond()
- Method in class org.wamblee.general.
Pair
Gets the second object of the pair.
getStderr()
- Method in class org.wamblee.io.
SimpleProcess
getStdout()
- Method in class org.wamblee.io.
SimpleProcess
I
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.
J
JvmLock
- Class in
org.wamblee.concurrency
In memory JVM lock.
JvmLock()
- Constructor for class org.wamblee.concurrency.
JvmLock
In-memory lock.
L
Lock
- Interface in
org.wamblee.concurrency
Represents a re-entrant lock.
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
O
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.collections
- package org.wamblee.collections
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
This package provides several general purpose support classes.
org.wamblee.io
- package org.wamblee.io
This package provides several support utilities for IO related functionality.
org.wamblee.observer
- package org.wamblee.observer
This package provides support for the observer pattern.
org.wamblee.persistence
- package org.wamblee.persistence
This package provides support for persistence.
org.wamblee.reflection
- package org.wamblee.reflection
org.wamblee.xml
- package org.wamblee.xml
This package provides support utilities for XML processing.
overrideBeanFactory(BeanFactory)
- Static method in class org.wamblee.general.
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.
poll()
- Method in class org.wamblee.io.
DirectoryMonitor
Polls the directory for changes and notifies the listener of any changes.
PropertyRegexCondition
<
T
> - Class in
org.wamblee.conditions
Condition to check whether a given property value 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
read(String)
- Static method in class org.wamblee.xml.
DomUtils
Parses an XML document from a string.
read(InputStream)
- Static method in class org.wamblee.xml.
DomUtils
Parses an XML document from a stream.
readAndValidate(InputStream, InputStream)
- Static method in class org.wamblee.xml.
DomUtils
Reads and validates a document against a schema.
ReadWriteLock
- Class in
org.wamblee.concurrency
Read-write lock for allowing multiple concurrent readers or at most one writer.
ReadWriteLock()
- Constructor for class org.wamblee.concurrency.
ReadWriteLock
Constructs read-write lock.
ReflectionUtils
- Class in
org.wamblee.reflection
ReflectionUtils()
- Constructor for class org.wamblee.reflection.
ReflectionUtils
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
Releases the lock for reading.
releaseWrite()
- Method in class org.wamblee.concurrency.
ReadWriteLock
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
resolve(String)
- Method in class org.wamblee.xml.
XslTransformer
Resolves an XSLT based on URI.
run()
- Method in class org.wamblee.io.
SimpleProcess
Runs the process and blocks until it is done.
S
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.
serialize(Document, OutputStream)
- Static method in class org.wamblee.xml.
DomUtils
Serializes an XML document to a stream.
serialize(Document)
- Static method in class org.wamblee.xml.
DomUtils
Serializes an XML document.
setPersistedVersion(int)
- Method in class org.wamblee.persistence.
AbstractPersistent
setPersistedVersion(int)
- Method in interface org.wamblee.persistence.
Persistent
Sets the version.
setPrimaryKey(Serializable)
- Method in class org.wamblee.persistence.
AbstractPersistent
setPrimaryKey(Serializable)
- Method in interface org.wamblee.persistence.
Persistent
Sets the primary key.
SimpleProcess
- Class in
org.wamblee.io
SimpleProcess(File, String[])
- Constructor for class org.wamblee.io.
SimpleProcess
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.
subscribe(Observer<ObservableType, Event>)
- Method in class org.wamblee.observer.
Observable
Subscribe an obvers.
T
textTransform(byte[], Source)
- Method in class org.wamblee.xml.
XslTransformer
Transforms a document to a text output.
toString()
- Method in class org.wamblee.io.
ClassPathResource
toString()
- Method in class org.wamblee.io.
SimpleProcess
transform(Document, Source)
- Method in class org.wamblee.xml.
XslTransformer
Transforms a DOM document into another DOM document using a given XSLT transformation.
transform(byte[], Source)
- Method in class org.wamblee.xml.
XslTransformer
Transforms a document using XSLT.
transform(Source, Result, Source)
- Method in class org.wamblee.xml.
XslTransformer
Transforms a document using XSLT.
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.
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.
X
XMLException
- Exception in
org.wamblee.xml
Exception thrown in case of XML parsing problems.
XMLException(String)
- Constructor for exception org.wamblee.xml.
XMLException
XMLException(String, Throwable)
- Constructor for exception org.wamblee.xml.
XMLException
XslTransformer
- Class in
org.wamblee.xml
XSL transformer for simplified usage of XSL transformations.
XslTransformer(URIResolver)
- Constructor for class org.wamblee.xml.
XslTransformer
Constructs the URL resolver.
XslTransformer()
- Constructor for class org.wamblee.xml.
XslTransformer
Constructs the XSLT processor.
Z
ZeroCache
<
KeyType
extends java.io.Serializable,
ValueType
extends java.io.Serializable> - Class in
org.wamblee.cache
A cache that does not cache.
ZeroCache()
- Constructor for class org.wamblee.cache.
ZeroCache
A
B
C
D
E
F
G
I
J
L
M
O
P
R
S
T
U
W
X
Z
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2010. All Rights Reserved.