A B C D E F G H I L M N P R S T U

A

add(int, Object) - Method in class net.sf.spif.persistence.PersistenceOptimizingArrayList
 
add(int, Object) - Method in class net.sf.spif.util.SetList
 
add(Object) - Method in class net.sf.spif.persistence.PersistenceOptimizingArrayList
 
add(Object) - Method in class net.sf.spif.util.SetList
 
addAll(Collection) - Method in class net.sf.spif.persistence.PersistenceOptimizingArrayList
 
addAll(Collection) - Method in class net.sf.spif.util.SetList
Not supported
addAll(int, Collection) - Method in class net.sf.spif.persistence.PersistenceOptimizingArrayList
 
addAll(int, Collection) - Method in class net.sf.spif.util.SetList
Not supported
addChild(PersonId) - Method in class net.sf.spif.example.Person
 
addListening(StoreChain) - Method in class net.sf.spif.StoreManager
Requests the addition of a listening store chain.
addMatchedValues(Object, Map) - Method in class net.sf.spif.persistence.TypePersister
Adds values for the matchedProperties to the given map
Address - class net.sf.spif.example.Address.
Notice that dependent objects does not need an id.
Address() - Constructor for class net.sf.spif.example.Address
Forbidden - persistence only.
Address(String, String, int) - Constructor for class net.sf.spif.example.Address
 
addStoring(StoreChain) - Method in class net.sf.spif.StoreManager
Requests the addition of a storing chain object.
addVetoing(StoreChain) - Method in class net.sf.spif.StoreManager
Requests the addition of a vetoing store chain.

B

begin() - Method in class net.sf.spif.StoreAccumulator
Starts a transaction.
bindValues(Id, Object, PreparedStatement, Map, boolean) - Method in class net.sf.spif.persistence.TypePersister
 

C

Cache - class net.sf.spif.util.Cache.
A last-recently-used cache.
Cache() - Constructor for class net.sf.spif.util.Cache
Creates a cache with the default size (10000)
Cache(int) - Constructor for class net.sf.spif.util.Cache
Creates a cache with a size
chained - Variable in class net.sf.spif.StoreChain
The store chain chained on this
clear() - Method in class net.sf.spif.StoreLocker
Removes all locks
clear() - Method in class net.sf.spif.StoreCache
Forgets everything
clear() - Method in class net.sf.spif.HashStore
Forgets everything
clear() - Method in class net.sf.spif.StoreAccumulator
Clears all puts and gets and sets this to be not in a transaction
clear() - Method in class net.sf.spif.StoreChain
Clears everything in the store.
clear() - Method in class net.sf.spif.persistence.PersistenceOptimizingArrayList
 
clear() - Method in class net.sf.spif.util.SetList
 
clear() - Method in class net.sf.spif.util.Locker
Clears all locks
commit() - Method in class net.sf.spif.StoreAccumulator
Commits all accumulated changes (puts and removes) to the downstream store chain.
compareTo(Object) - Method in class net.sf.spif.Id
Comparable is implemented to support consistent ordering of id collections.
ConfigurationException - exception net.sf.spif.ConfigurationException.
A runtime exception thrown on problems which looks related to configuration from the point of throwing.
ConfigurationException(String) - Constructor for class net.sf.spif.ConfigurationException
 
ConfigurationException(String, Throwable) - Constructor for class net.sf.spif.ConfigurationException
 
contains(Object) - Method in class net.sf.spif.util.SetList
 
containsAll(Collection) - Method in class net.sf.spif.util.SetList
 
Converter - class net.sf.spif.persistence.Converter.
Ignore - public for testing only.
convertFromString(String) - Method in class net.sf.spif.persistence.Converter
 
convertToString(Object) - Method in class net.sf.spif.persistence.Converter
 
create() - Method in interface net.sf.spif.ejb.StoreSessionHome
Create mehtod for StoreSession
createTypeInstance() - Method in class net.sf.spif.Id
Creates an instance of the type this is an id for.
createTypePersister(Class, Connection) - Method in class net.sf.spif.persistence.StorePersister
Creates a type persister for a given id class.

D

dependents - Variable in class net.sf.spif.persistence.TypePersister
The dependent persisters of this type persister

E

ejbActivate() - Method in class net.sf.spif.ejb.StoreSessionBean
 
EjbClient - class net.sf.spif.ejb.EjbClient.
Static tools for ejb clients
ejbCreate() - Method in class net.sf.spif.ejb.StoreSessionBean
 
ejbPassivate() - Method in class net.sf.spif.ejb.StoreSessionBean
 
ejbRemove() - Method in class net.sf.spif.ejb.StoreSessionBean
 
endSample() - Method in class net.sf.spif.util.Timing
 
endSampleVerbose() - Method in class net.sf.spif.util.Timing
 
equals(Object) - Method in class net.sf.spif.StoreChain
Returns if this store is functionally equal to the given store chain.
equals(Object) - Method in class net.sf.spif.Id
 
equals(Object) - Method in class net.sf.spif.util.SetList
 
equals(Object) - Method in class net.sf.spif.example.Address
 
equals(Object) - Method in class net.sf.spif.example.Person
Identity is determined by id
ExampleService - class net.sf.spif.example.ExampleService.
A service is the access point to a component package.
ExampleService() - Constructor for class net.sf.spif.example.ExampleService
Use ExampleService.get() instead to get the instance to use.

F

findAdderMatching(Class, Method) - Static method in class net.sf.spif.util.Reflection
Returns the first (any) adder matching the given getter collection, or null if none is found
findAdderMatching(Class, Method, Class) - Static method in class net.sf.spif.util.Reflection
Returns an adder matching the given getter collection, or null if none is found
findCollectionGetters(Class) - Static method in class net.sf.spif.util.Reflection
Returns the collection getters of a given type.
findConstructor(Class, Class[]) - Static method in class net.sf.spif.util.Reflection
Finds a constructor and returns it, or null if it was not found
findGetter(Class, String) - Static method in class net.sf.spif.util.Reflection
Returns a getter for the given name, or null if there is no such getter Case is not significant.
findGetters(Class) - Static method in class net.sf.spif.util.Reflection
Returns all the getters in the given type.
findMethod(Class, String) - Static method in class net.sf.spif.util.Reflection
Finds a method witrh no arguments and returns it, or null if it was not found
findMethod(Class, String, Class[]) - Static method in class net.sf.spif.util.Reflection
Finds a method and returns it, or null if it was not found
findSetter(Class, String, Class) - Static method in class net.sf.spif.util.Reflection
Returns a setter for the given name, or null if there is no such setter.
findSetterMatching(Class, Method) - Static method in class net.sf.spif.util.Reflection
Returns a setter matching the given getter, or null if none is found
findSetters(Class) - Static method in class net.sf.spif.util.Reflection
Returns all the setters in the given type.

G

get() - Static method in class net.sf.spif.StoreManager
 
get() - Static method in class net.sf.spif.ThreadContext
Returns the thread context of this thread
get() - Static method in class net.sf.spif.Store
Returns the singleton instance of this class
get() - Static method in class net.sf.spif.example.ExampleService
Returns this service
get(Class) - Static method in class net.sf.spif.persistence.Converter
Returns a converter of a certain class, or null if we are not able to convert this to and from a string
get(Id, boolean) - Method in class net.sf.spif.StoreLogger
 
get(Id, boolean) - Method in class net.sf.spif.StoreProfiler
 
get(Id, boolean) - Method in class net.sf.spif.StoreLocker
Returns an objects, but locks it first if it writeable is true.
get(Id, boolean) - Method in class net.sf.spif.StoreCache
Returns an object.
get(Id, boolean) - Method in class net.sf.spif.HashStore
 
get(Id, boolean) - Method in class net.sf.spif.StoreAccumulator
Returns an object.
get(Id, boolean) - Static method in class net.sf.spif.Store
Convenience static method.
get(Id, boolean) - Method in class net.sf.spif.StoreChain
Returns an object from the store.
get(Id, boolean) - Method in class net.sf.spif.ejb.StoreSessionClient
 
get(Id, boolean) - Method in class net.sf.spif.ejb.StoreSessionBean
 
get(Id, boolean) - Method in interface net.sf.spif.ejb.StoreSession
 
get(Id, boolean) - Method in class net.sf.spif.persistence.StorePersister
 
get(Id, boolean) - Method in class net.sf.spif.optional.IndexedFileStore
Read an object from file
get(Id, Object, Map, Connection) - Method in class net.sf.spif.persistence.TypePersister
Reads this object and it dependents from persistent storage.
get(int) - Method in class net.sf.spif.persistence.PersistenceOptimizingArrayList
 
get(int) - Method in class net.sf.spif.util.SetList
 
get(Object) - Method in class net.sf.spif.persistence.PersistenceOptimizingHashMap
 
getAccessor(String, Class, Class) - Static method in class net.sf.spif.ejb.StatelessEJBAccessor
Returns an accessor.
getAddress() - Method in class net.sf.spif.example.Person
 
getCached(Id) - Method in class net.sf.spif.StoreCache
Returns the value bound to this id in the cache, i.e no forwarding.
getCacheSize() - Method in class net.sf.spif.util.Cache
Returns the maximum number of items in this cache
getChained() - Method in class net.sf.spif.StoreChain
Returns the chain chained on this.
getChained(Class) - Method in class net.sf.spif.StoreChain
Returns a chained instance of a type
getChained(Id) - Method in class net.sf.spif.StoreDispatcher
Get the chain for the appropriate id type
getChained(Id) - Method in class net.sf.spif.StoreChain
Returns the chain chained on this for the appropriate type.
getChainString() - Method in class net.sf.spif.StoreManager
Returns a string enumerating all the elements of the current chain, in order
getChildIterator() - Method in class net.sf.spif.example.Person
Returns a read-only iterator of the children of this person
getChildren() - Method in class net.sf.spif.example.Person
Returns an iterator of the ids of the children of this class.
getCity() - Method in class net.sf.spif.example.Address
 
getConnection(String) - Static method in class net.sf.spif.persistence.Persistence
 
getContext() - Static method in class net.sf.spif.naming.InitialContextFactory
 
getException(RemoteException, String) - Static method in class net.sf.spif.ejb.EjbClient
Remove all wrapping exceptions to get the real rumtime cause, or wrap in a runtime if there is no runtime in there
getGetAverageTime() - Method in class net.sf.spif.StoreProfiler
Return the average get time in milliseconds
getGetCount() - Method in class net.sf.spif.StoreProfiler
Return the total number of gets
getGetter() - Method in class net.sf.spif.persistence.PersistentProperty
 
getGetTotalTime() - Method in class net.sf.spif.StoreProfiler
Return the total time spent getting in milliseconds
getHome() - Static method in class net.sf.spif.ejb.StoreSessionAccessor
Returns a StoreSessionHome reference from the cache or from the JNDI server if the cache is void.
getHome() - Method in class net.sf.spif.ejb.StatelessEJBAccessor
Returns a home object
getId() - Method in class net.sf.spif.example.Person
 
getLockedBy() - Method in class net.sf.spif.LockedException
Returns the name of the principal which has this item locked
getLockTimeoutMillis() - Method in class net.sf.spif.util.Locker
Returns the lock timeout of this locked in milliseconds
getMatchedIterator() - Method in class net.sf.spif.persistence.MatchProperties
 
getMatchedString() - Method in class net.sf.spif.persistence.MatchProperties
 
getMatchProperties() - Method in class net.sf.spif.persistence.TypePersister
For testing
getMessage() - Method in class net.sf.spif.LockedException
 
getName() - Method in class net.sf.spif.persistence.PersistentProperty
Returns the name of this property.
getName() - Method in class net.sf.spif.example.Person
 
getOn(Object) - Method in class net.sf.spif.persistence.PersistentProperty
 
getParent() - Method in class net.sf.spif.persistence.TypePersister
 
getPrevious(StoreChain) - Method in class net.sf.spif.StoreManager
Returns the store chain element appearing before the given store chain element, or null if the given chain is not in the store chain
getPrincipalName() - Method in class net.sf.spif.ThreadContext
 
getPutAverageTime() - Method in class net.sf.spif.StoreProfiler
Return the average put time in milliseconds
getPutCount() - Method in class net.sf.spif.StoreProfiler
Return the total number of puts
getPutTotalTime() - Method in class net.sf.spif.StoreProfiler
Return the total time spent putting in milliseconds
getRemote() - Static method in class net.sf.spif.ejb.StoreSessionAccessor
Returns a remote StoreSession reference from the cache or by creating from the home.
getRemote() - Method in class net.sf.spif.ejb.StatelessEJBAccessor
Returns a home object
getReport() - Method in class net.sf.spif.example.Person
A persistent edit bubble may well contain non-persistent objects
getReportString() - Method in class net.sf.spif.StoreProfiler
Returns a human-readable string containing the statistics gethered
getRows(Id, Connection) - Method in class net.sf.spif.persistence.TypePersister
 
getSetter() - Method in class net.sf.spif.persistence.PersistentProperty
 
getStoreChainInstance(Class) - Method in class net.sf.spif.StoreDispatcher
Retrieve the StoreChain instance for the given type (class).
getStreet() - Method in class net.sf.spif.example.Address
 
getType() - Method in class net.sf.spif.Id
Returns the type of this id as a class.
getType() - Method in class net.sf.spif.persistence.PersistentProperty
Returns the type of this property (not the containing type)
getType() - Method in class net.sf.spif.persistence.TypePersister
Returns the type this persists
getTypeName() - Method in class net.sf.spif.Id
Returns the type of this id.
getUnmatched() - Method in class net.sf.spif.persistence.MatchProperties
 
getZip() - Method in class net.sf.spif.example.Address
 

H

handleDuplicateAddition(StoreChain) - Method in class net.sf.spif.StoreManager
Do type-dependent handling when a duplicate is attemted added
hashCode() - Method in class net.sf.spif.StoreChain
Returns the hashcode of the class of this store chain.
hashCode() - Method in class net.sf.spif.Id
 
hashCode() - Method in class net.sf.spif.util.SetList
 
hashCode() - Method in class net.sf.spif.example.Address
 
hashCode() - Method in class net.sf.spif.example.Person
And don't forget the hash code
HashStore - class net.sf.spif.HashStore.
A store backed by a plain HashMap.
HashStore() - Constructor for class net.sf.spif.HashStore
 
hasMatches() - Method in class net.sf.spif.persistence.MatchProperties
Returns whether there are some matched properties here

I

Id - class net.sf.spif.Id.
A unique id.
Id(String) - Constructor for class net.sf.spif.Id
Create a unique id from a unique string
IndexedFileStore - class net.sf.spif.optional.IndexedFileStore.
A file storage using Jisp.
IndexedFileStore(String) - Constructor for class net.sf.spif.optional.IndexedFileStore
Creates a store with a file name to save data into
IndexedFileStore(String, int) - Constructor for class net.sf.spif.optional.IndexedFileStore
Creates a store with a file name to save data into
IndexedFileStore(String, int, int) - Constructor for class net.sf.spif.optional.IndexedFileStore
Creates a store with a file name to save data into
indexOf(Object) - Method in class net.sf.spif.util.SetList
 
InitialContextFactory - class net.sf.spif.naming.InitialContextFactory.
A vm-wide actory for initial contextes which remembers its configuration.
InitialContextFactory() - Constructor for class net.sf.spif.naming.InitialContextFactory
 
initialize(Class, Map, DependentPersister, Connection) - Method in class net.sf.spif.persistence.TypePersister
Does initializing which is obligatory for subclasses as well.
initialize(Properties) - Static method in class net.sf.spif.naming.InitialContextFactory
Initializes the initial context factory.
initialize(String) - Method in class net.sf.spif.example.ExampleService
Initializes this service.
initLockedBy(String) - Method in class net.sf.spif.LockedException
Sets the name of the locked of this item
inTransaction() - Method in class net.sf.spif.StoreAccumulator
Returns whether we are in a transaction
invalidateCache() - Static method in class net.sf.spif.ejb.StoreSessionAccessor
Signals that the entire cache is to be invalidated.
invalidateCache() - Method in class net.sf.spif.ejb.StatelessEJBAccessor
 
invalidateCaches() - Static method in class net.sf.spif.ejb.StatelessEJBAccessor
Invalidates all cached ejb objects
invoke(Constructor) - Static method in class net.sf.spif.util.Reflection
Invokes a constructor taking no arguments
invoke(Constructor, Object) - Static method in class net.sf.spif.util.Reflection
Invokes a constructor taking one argument
invoke(Constructor, Object[]) - Static method in class net.sf.spif.util.Reflection
Invokes a constructor
invoke(Object, Method) - Static method in class net.sf.spif.util.Reflection
Invokes a no-argument method on an object
invoke(Object, Method, Object) - Static method in class net.sf.spif.util.Reflection
Invokes a single argument method on an object
invoke(Object, Method, Object[]) - Static method in class net.sf.spif.util.Reflection
Invokes a method on an object
isEmpty() - Method in class net.sf.spif.persistence.TypePersister
Returns whether this persister has anything to persist
isEmpty() - Method in class net.sf.spif.util.SetList
 
isLockedBy(Id, String) - Method in class net.sf.spif.util.Locker
Returns whether this id is currently locked by this key.
isLockedByOther(Id, String) - Method in class net.sf.spif.util.Locker
Returns true if this id is currently locked, but by another key
isMatched() - Method in class net.sf.spif.persistence.MatchProperty
Returns true if this property is matched
isMatched() - Method in class net.sf.spif.persistence.PersistentProperty
Returns whether this property is matched
isOptimizingList() - Method in class net.sf.spif.util.SetList
Returns whether we are using an optimized list instance
iterator() - Method in class net.sf.spif.persistence.PersistenceOptimizingHashMap
The value iterator.
iterator() - Method in class net.sf.spif.persistence.PersistenceOptimizingArrayList
 
iterator() - Method in class net.sf.spif.util.SetList
 

L

lastIndexOf(Object) - Method in class net.sf.spif.util.SetList
 
listIterator() - Method in class net.sf.spif.persistence.PersistenceOptimizingArrayList
 
listIterator() - Method in class net.sf.spif.util.SetList
 
listIterator(int) - Method in class net.sf.spif.persistence.PersistenceOptimizingArrayList
 
listIterator(int) - Method in class net.sf.spif.util.SetList
 
lock(Id, String) - Method in class net.sf.spif.util.Locker
Locks (or relocks) an item.
LockedException - exception net.sf.spif.LockedException.
Thrown when a lock was requested for an allready locked item
LockedException(String) - Constructor for class net.sf.spif.LockedException
 
LockedException(String, String) - Constructor for class net.sf.spif.LockedException
 
Locker - class net.sf.spif.util.Locker.
A class for coordinating exclusive access to objects accross simultaneous threads.
Locker(long) - Constructor for class net.sf.spif.util.Locker
Creates a locked with a lock timeout in milliseconds
log - Static variable in class net.sf.spif.StoreLogger
The logger used by this class
log - Static variable in class net.sf.spif.StoreProfiler
The logger used by this class
log - Static variable in class net.sf.spif.ejb.StoreSessionBean
The logger used by this class
log - Static variable in class net.sf.spif.persistence.Persistence
 
log - Static variable in class net.sf.spif.persistence.StorePersister
 
log - Static variable in class net.sf.spif.persistence.TypePersister
 

M

matchProperties - Variable in class net.sf.spif.persistence.TypePersister
The properties involved in matching at this type
MatchProperties - class net.sf.spif.persistence.MatchProperties.
Ignore - public for testing only.
MatchProperties(Class, String, Map) - Constructor for class net.sf.spif.persistence.MatchProperties
Creates the match properties for a type given some available (unmatched) properties propagated from above.
MatchProperty - class net.sf.spif.persistence.MatchProperty.
Ignore - public for testing only.
MatchProperty(String) - Constructor for class net.sf.spif.persistence.MatchProperty
Use PersistentProperty.newInstance(java.lang.String, java.lang.Class)

N

net.sf.spif - package net.sf.spif
 
net.sf.spif.ejb - package net.sf.spif.ejb
 
net.sf.spif.example - package net.sf.spif.example
 
net.sf.spif.naming - package net.sf.spif.naming
 
net.sf.spif.optional - package net.sf.spif.optional
 
net.sf.spif.persistence - package net.sf.spif.persistence
 
net.sf.spif.util - package net.sf.spif.util
 
newInstance(Class) - Static method in class net.sf.spif.util.Reflection
Creates an instance of the given class if possible
newInstance(Class, Object) - Static method in class net.sf.spif.util.Reflection
Creates an instance of the given class if possible
newInstance(String, Class) - Static method in class net.sf.spif.persistence.PersistentProperty
Creates a persistent property.

P

Persistence - class net.sf.spif.persistence.Persistence.
Static utility methods for persistence
PersistenceOptimizingArrayList - class net.sf.spif.persistence.PersistenceOptimizingArrayList.
An array list which automatically remembers it add and remove history.
PersistenceOptimizingArrayList() - Constructor for class net.sf.spif.persistence.PersistenceOptimizingArrayList
 
PersistenceOptimizingArrayList(boolean) - Constructor for class net.sf.spif.persistence.PersistenceOptimizingArrayList
 
PersistenceOptimizingHashMap - class net.sf.spif.persistence.PersistenceOptimizingHashMap.
A hash map which automatically remembers it add and remove history.
PersistenceOptimizingHashMap() - Constructor for class net.sf.spif.persistence.PersistenceOptimizingHashMap
 
persistentProperties - Variable in class net.sf.spif.persistence.TypePersister
The persistent properties of this type, or null if it does not have it's own table
PersistentProperty - class net.sf.spif.persistence.PersistentProperty.
Ignore - public for testing only.
PersistentProperty(String, Method, Method) - Constructor for class net.sf.spif.persistence.PersistentProperty
Use newInstance
Person - class net.sf.spif.example.Person.
A example model object.
Person(PersonId) - Constructor for class net.sf.spif.example.Person
Re-create an existing person.
Person(String) - Constructor for class net.sf.spif.example.Person
Create a person and assign a unique id in some way I am not going into here.
PersonId - class net.sf.spif.example.PersonId.
 
PersonId(String) - Constructor for class net.sf.spif.example.PersonId
 
PersonReport - class net.sf.spif.example.PersonReport.
A non-persinstent object
PersonReport() - Constructor for class net.sf.spif.example.PersonReport
 
populateFrom(ResultSet, Map, Object) - Method in class net.sf.spif.persistence.TypePersister
Populates an object with setters matching the result set column names.
populateFromLeftovers(Map, Object) - Method in class net.sf.spif.persistence.TypePersister
Populates an object with setters matching the property names
printContents() - Method in class net.sf.spif.StoreCache
Prints the contents of the cache for debugging
printContents() - Method in class net.sf.spif.util.Cache
Prints the contents of the cache for debugging
printContext() - Static method in class net.sf.spif.naming.InitialContextFactory
Prints the entire context tree to standard out
put(Id, Object) - Method in class net.sf.spif.StoreLogger
 
put(Id, Object) - Method in class net.sf.spif.StoreProfiler
 
put(Id, Object) - Method in class net.sf.spif.StoreLocker
Puts a changed or new object into the store.
put(Id, Object) - Method in class net.sf.spif.StoreCache
Puts a changed or new object into the store.
put(Id, Object) - Method in class net.sf.spif.HashStore
 
put(Id, Object) - Method in class net.sf.spif.StoreAccumulator
Accumulates the put in this class until commit if a transaction has started.
put(Id, Object) - Static method in class net.sf.spif.Store
Convenience static method.
put(Id, Object) - Method in class net.sf.spif.StoreChain
Puts an object in the store.
put(Id, Object) - Method in class net.sf.spif.ejb.StoreSessionClient
 
put(Id, Object) - Method in class net.sf.spif.ejb.StoreSessionBean
 
put(Id, Object) - Method in interface net.sf.spif.ejb.StoreSession
 
put(Id, Object) - Method in class net.sf.spif.persistence.StorePersister
 
put(Id, Object) - Method in class net.sf.spif.optional.IndexedFileStore
Writes an object to file
put(Id, Object, Map, Connection) - Method in class net.sf.spif.persistence.TypePersister
 
put(Object, Object) - Method in class net.sf.spif.persistence.PersistenceOptimizingHashMap
 

R

recordChanges(boolean) - Method in class net.sf.spif.persistence.PersistenceOptimizingHashMap
Set to false to make changes which won't cause this class to feel changed or accessed.
recordChanges(boolean) - Method in class net.sf.spif.persistence.PersistenceOptimizingArrayList
Set to false to make changes which won't cause this class to feel changed or accessed.
reentrantAccess() - Method in class net.sf.spif.persistence.StorePersister
This defends agains cases where a getter invocation on a store object causes a new access for a store object.
Reflection - class net.sf.spif.util.Reflection.
Static convenience methods for finding methods and making reflection invocation methods without being drowned in exception handling
ReflectionException - exception net.sf.spif.ReflectionException.
Thrown on reflection errors
ReflectionException(String) - Constructor for class net.sf.spif.ReflectionException
 
ReflectionException(String, Exception) - Constructor for class net.sf.spif.ReflectionException
 
releaseConnection(Connection) - Static method in class net.sf.spif.persistence.Persistence
 
remove(Id) - Method in class net.sf.spif.StoreLogger
 
remove(Id) - Method in class net.sf.spif.StoreLocker
Removes any held lock before forwarding,
remove(Id) - Method in class net.sf.spif.StoreCache
Removes and propagates
remove(Id) - Method in class net.sf.spif.HashStore
Removes and propagates
remove(Id) - Method in class net.sf.spif.StoreAccumulator
Accumulates the remove in this class until commit if a transaction has started.
remove(Id) - Static method in class net.sf.spif.Store
Convenience static method.
remove(Id) - Method in class net.sf.spif.StoreChain
Removes an object.
remove(Id) - Method in class net.sf.spif.ejb.StoreSessionClient
 
remove(Id) - Method in class net.sf.spif.ejb.StoreSessionBean
 
remove(Id) - Method in interface net.sf.spif.ejb.StoreSession
 
remove(Id) - Method in class net.sf.spif.persistence.StorePersister
 
remove(Id) - Method in class net.sf.spif.optional.IndexedFileStore
 
remove(Id, Class, Connection) - Method in class net.sf.spif.persistence.TypePersister
 
remove(int) - Method in class net.sf.spif.persistence.PersistenceOptimizingArrayList
 
remove(int) - Method in class net.sf.spif.util.SetList
 
remove(Object) - Method in class net.sf.spif.persistence.PersistenceOptimizingHashMap
 
remove(Object) - Method in class net.sf.spif.persistence.PersistenceOptimizingArrayList
 
remove(Object) - Method in class net.sf.spif.util.SetList
 
removeAll(Collection) - Method in class net.sf.spif.util.SetList
 
removeChild(PersonId) - Method in class net.sf.spif.example.Person
 
removeEldestEntry(Map.Entry) - Method in class net.sf.spif.util.Cache
 
removeStore() - Method in class net.sf.spif.StoreManager
Removes everything from the store chain
replace(StoreChain, StoreChain) - Method in class net.sf.spif.StoreManager
Replaces a chain element with another
reset() - Method in class net.sf.spif.StoreProfiler
Resets all measures to 0
reset() - Method in class net.sf.spif.util.Timing
 
retainAll(Collection) - Method in class net.sf.spif.util.SetList
 
rollback() - Method in class net.sf.spif.StoreAccumulator
Rolls back all changes if we are in a transaction.
rowToObject(Id, Object, Map, ResultSet) - Method in class net.sf.spif.persistence.TypePersister
Creates an instance of the type given by the id and populates setters with matching names in the resultset

S

sessionContext - Variable in class net.sf.spif.ejb.StoreSessionBean
 
set(ExampleService) - Static method in class net.sf.spif.example.ExampleService
Sets the service instance to use (usually a subclass)
set(int, Object) - Method in class net.sf.spif.persistence.PersistenceOptimizingArrayList
 
set(int, Object) - Method in class net.sf.spif.util.SetList
 
set(StoreManager) - Static method in class net.sf.spif.StoreManager
Sets the instance to use
setAddress(Address) - Method in class net.sf.spif.example.Person
(The address is a dependent object - part of the same edit bubble)
setBackingList(Class) - Static method in class net.sf.spif.util.SetList
Sets the default backing list.
setChained(Class, StoreChain) - Method in class net.sf.spif.StoreDispatcher
Sets a chained store for a particular type.
setChained(StoreChain) - Static method in class net.sf.spif.Store
Convenience static method.
setChained(StoreChain) - Method in class net.sf.spif.StoreChain
Sets the chained chaineded on this
setCity(String) - Method in class net.sf.spif.example.Address
 
setGetter(Method) - Method in class net.sf.spif.persistence.PersistentProperty
Sets the getter, and the property type, which is the return type of the getter
SetList - class net.sf.spif.util.SetList.
A list backed by another pluggable list which contains unique elements which are optionaly lazily sorted.
SetList() - Constructor for class net.sf.spif.util.SetList
Creates an unsorted setlist backed by the default backing list
SetList(boolean) - Constructor for class net.sf.spif.util.SetList
Creates a setlist backed by the default backing list
SetList(boolean, boolean) - Constructor for class net.sf.spif.util.SetList
Creates a setlist backed by the default backing list
setLockTimeoutMillis(long) - Method in class net.sf.spif.util.Locker
Sets the lock timeout of this locked in missiseconds
setMatched(Class, Method, Method) - Method in class net.sf.spif.persistence.MatchProperty
Call when this persistent property gets matched to a class and accessors
setName(String) - Method in class net.sf.spif.example.Person
 
setOn(Object, Object) - Method in class net.sf.spif.persistence.PersistentProperty
 
setPersonReport(PersonReport) - Method in class net.sf.spif.example.Person
 
setPrincipalName(String) - Method in class net.sf.spif.ThreadContext
 
setSessionContext(SessionContext) - Method in class net.sf.spif.ejb.StoreSessionBean
 
setSetter(Method) - Method in class net.sf.spif.persistence.PersistentProperty
 
setStreet(String) - Method in class net.sf.spif.example.Address
 
setUnmatched(Map) - Method in class net.sf.spif.persistence.MatchProperties
Sets the unmatched properties to uase at this persistent type and below (dependents).
setZip(int) - Method in class net.sf.spif.example.Address
 
size() - Method in class net.sf.spif.StoreCache
 
size() - Method in class net.sf.spif.util.SetList
 
startSample() - Method in class net.sf.spif.util.Timing
 
StatelessEJBAccessor - class net.sf.spif.ejb.StatelessEJBAccessor.
Delegate for stateless ejb accessors
statements - Variable in class net.sf.spif.persistence.TypePersister
The sql statements used by this class, or null if nothing should be persisted for *this* class (but maybe for children)
Store - class net.sf.spif.Store.
The store chain entry point.
StoreAccumulator - class net.sf.spif.StoreAccumulator.
A store accumulator can accumulate several puts and removes, and forget them, or send them further down the chain at some later time.
StoreAccumulator() - Constructor for class net.sf.spif.StoreAccumulator
 
StoreCache - class net.sf.spif.StoreCache.
A caching store chain element.
StoreCache(boolean) - Constructor for class net.sf.spif.StoreCache
Creates a store cache with the default size (1000)
StoreCache(int) - Constructor for class net.sf.spif.StoreCache
Creates a store cache with a size which will read through for write
StoreCache(int, boolean) - Constructor for class net.sf.spif.StoreCache
Creates a store cache with a size
StoreChain - class net.sf.spif.StoreChain.
A store chain implementation is an object which is able to participate in a store chain - a chain of responsibilities propagating requests for identified objects and changes to such objects.
StoreChain() - Constructor for class net.sf.spif.StoreChain
 
storeChainContains(StoreChain) - Method in class net.sf.spif.StoreManager
 
StoreDispatcher - class net.sf.spif.StoreDispatcher.
A StoreChain which dispatches requests to the correct chain dependent upon object type.
StoreDispatcher() - Constructor for class net.sf.spif.StoreDispatcher
 
StoreLocker - class net.sf.spif.StoreLocker.
Include in a store chain to get pessimistic locking of all objects fecthed for writing.
StoreLocker() - Constructor for class net.sf.spif.StoreLocker
Creates a store locked with a default lock timeout (30 minutes)
StoreLocker(long) - Constructor for class net.sf.spif.StoreLocker
Creates a store locked with a lock timeout
StoreLogger - class net.sf.spif.StoreLogger.
A store chain which just logs whatever passes thru as info messages to a logger named by the full class name of this class.
StoreLogger() - Constructor for class net.sf.spif.StoreLogger
 
StoreManager - class net.sf.spif.StoreManager.
The store manager is a pluggable singleton which can be used to manage the store chain in larger applications.
StoreManager() - Constructor for class net.sf.spif.StoreManager
Only instantiate to StoreManager.set(net.sf.spif.StoreManager) a new instance for all to use.
StorePersister - class net.sf.spif.persistence.StorePersister.
Automatic storage of model objects The StorePersister is a Store chain which stores to and fetches from a relational storage by automatically matching classes to db tables.
StorePersister(String) - Constructor for class net.sf.spif.persistence.StorePersister
Creates an instance
StoreProfiler - class net.sf.spif.StoreProfiler.
A store which logs the time spent on each get and put call passing through as fine messages to a java.util.logging.Logger named by this class name.
StoreProfiler() - Constructor for class net.sf.spif.StoreProfiler
Creates a store profiler which logs each access
StoreProfiler(boolean) - Constructor for class net.sf.spif.StoreProfiler
Creates a store profiler
StoreSession - interface net.sf.spif.ejb.StoreSession.
Remote interface for the StoreSession session bean.
StoreSessionAccessor - class net.sf.spif.ejb.StoreSessionAccessor.
Accessor for the StoreSession session bean.
StoreSessionAccessor() - Constructor for class net.sf.spif.ejb.StoreSessionAccessor
 
StoreSessionBean - class net.sf.spif.ejb.StoreSessionBean.
A session bean for chaining together StoreChain on multiple vms.
StoreSessionBean() - Constructor for class net.sf.spif.ejb.StoreSessionBean
 
StoreSessionClient - class net.sf.spif.ejb.StoreSessionClient.
A store chain element session bean for chaining together store chains on multiple vms.
StoreSessionClient() - Constructor for class net.sf.spif.ejb.StoreSessionClient
 
StoreSessionHome - interface net.sf.spif.ejb.StoreSessionHome.
Home interface for the StoreSession session bean.
stringValue() - Method in class net.sf.spif.Id
Returns the string value of this id
subList(int, int) - Method in class net.sf.spif.util.SetList
 

T

ThreadContext - class net.sf.spif.ThreadContext.
Keeps global typed thread-local information
ThreadContext() - Constructor for class net.sf.spif.ThreadContext
 
Timing - class net.sf.spif.util.Timing.
A time period measurement, or average on many such measures.
Timing(String) - Constructor for class net.sf.spif.util.Timing
 
toArray() - Method in class net.sf.spif.persistence.PersistenceOptimizingArrayList
 
toArray() - Method in class net.sf.spif.util.SetList
 
toArray(Object[]) - Method in class net.sf.spif.persistence.PersistenceOptimizingArrayList
 
toArray(Object[]) - Method in class net.sf.spif.util.SetList
 
toName(Class) - Static method in class net.sf.spif.util.Reflection
Returns the short name of a class
toPropertyName(Method) - Static method in class net.sf.spif.util.Reflection
Returns the name of the property the given method is a getter or setter for, in lowercase only.
toString() - Method in class net.sf.spif.StoreDispatcher
String representation for debugging purposes.
toString() - Method in class net.sf.spif.Id
Returns a string describing this id
toString() - Method in class net.sf.spif.persistence.MatchProperty
 
toString() - Method in class net.sf.spif.persistence.PersistentProperty
 
toString() - Method in class net.sf.spif.persistence.TypePersister
 
toString() - Method in class net.sf.spif.util.Timing
Returns all information in this timing as a string
toString() - Method in class net.sf.spif.example.Address
 
toString() - Method in class net.sf.spif.example.PersonReport
 
toString() - Method in class net.sf.spif.example.Person
 
TypePersister - class net.sf.spif.persistence.TypePersister.
Ignore - public for testing only.
TypePersister() - Constructor for class net.sf.spif.persistence.TypePersister
Must call initialize after this.
TypePersister(Class, Map, DependentPersister, Connection) - Constructor for class net.sf.spif.persistence.TypePersister
Creates a type persister.

U

unlock(Id) - Method in class net.sf.spif.StoreLocker
Unlocks a previously locked object
unlock(Id, String) - Method in class net.sf.spif.util.Locker
Unlocks the given id if it is still locked by the given key.

A B C D E F G H I L M N P R S T U

Spif 1.01 (2003-04-03). http://spif.sf.net