A B C D E F G H I J K M N O P R S T

A

addComponents(ModelExposer) - Method in class com.sas.framework.expojo.servlet.ExpojoServletContextListener
Adds service and repository components to the ModelExposer.
addRepository(RepositoryComponent) - Method in class com.sas.framework.expojo.ModelExposer
Adds a service component to the model exposer.
addService(ServiceComponent) - Method in class com.sas.framework.expojo.ModelExposer
Adds a service component to the model exposer.
attachThread() - Method in class com.sas.framework.expojo.ModelExposer
Implements Dependency Injection: Attaches this ModelExposer to the current thread.
ATTR_MODEL_EXPOSER - Static variable in class com.sas.framework.expojo.servlet.ExpojoServletFilter
Name of the attribute used to store the ModelExposer in the session.

B

beginTx() - Method in class com.sas.framework.expojo.hibernate.HibernatePersistenceProvider
Begins a transaction.
beginTx() - Method in class com.sas.framework.expojo.jdo.JdoPersistenceProvider
Begins a transaction.
beginTx() - Method in class com.sas.framework.expojo.mock.MockPersistenceProvider
Begins a transaction.
beginTx() - Method in class com.sas.framework.expojo.PersistenceProvider
Begins a transaction.

C

close() - Method in class com.sas.framework.expojo.hibernate.HibernatePersistenceProvider
Closes the persistence provider.
close() - Method in class com.sas.framework.expojo.jdo.JdoPersistenceProvider
Closes the persistence provider.
close() - Method in class com.sas.framework.expojo.jdo.JdoPersistenceProviderFactory
Describe here
close() - Method in class com.sas.framework.expojo.mock.MockPersistenceProvider
Closes the persistence provider.
close() - Method in class com.sas.framework.expojo.PersistenceProvider
Closes the persistence provider.
close() - Method in class com.sas.framework.expojo.PersistenceProviderFactory
Describe here
com.sas.framework.expojo - package com.sas.framework.expojo
 
com.sas.framework.expojo.hibernate - package com.sas.framework.expojo.hibernate
 
com.sas.framework.expojo.jdo - package com.sas.framework.expojo.jdo
 
com.sas.framework.expojo.jdo.jpox - package com.sas.framework.expojo.jdo.jpox
 
com.sas.framework.expojo.jdo.kodo - package com.sas.framework.expojo.jdo.kodo
 
com.sas.framework.expojo.mock - package com.sas.framework.expojo.mock
 
com.sas.framework.expojo.servlet - package com.sas.framework.expojo.servlet
 
commitTx() - Method in class com.sas.framework.expojo.hibernate.HibernatePersistenceProvider
Commits a transaction.
commitTx() - Method in class com.sas.framework.expojo.jdo.JdoPersistenceProvider
Commits a transaction.
commitTx() - Method in class com.sas.framework.expojo.mock.MockPersistenceProvider
Commits a transaction.
commitTx() - Method in class com.sas.framework.expojo.PersistenceProvider
Commits a transaction.
contextDestroyed(ServletContextEvent) - Method in class com.sas.framework.expojo.servlet.ExpojoServletContextListener
Called when the application context is being destroyed.
contextInitialized(ServletContextEvent) - Method in class com.sas.framework.expojo.servlet.ExpojoServletContextListener
Performs application initialisation and establishment of the PersistenceProviderFactory.
createModelExposer() - Method in class com.sas.framework.expojo.servlet.ExpojoServletContextListener
Creates a ModelExposer.
createPersistenceManagerFactory() - Method in class com.sas.framework.expojo.jdo.JdoPersistenceProviderFactory
Creates a persistence manager factory which can produce persistence managers.
createPersistenceProvider() - Method in class com.sas.framework.expojo.hibernate.HibernatePersistenceProviderFactory
Overridden in derived classes to provide PersistenceProvider appropriate to the persistence technology used.
createPersistenceProvider() - Method in class com.sas.framework.expojo.jdo.JdoPersistenceProviderFactory
Overridden in derived classes to provide PersistenceProvider appropriate to the persistence technology used.
createPersistenceProvider() - Method in class com.sas.framework.expojo.mock.MockPersistenceProviderFactory
Overridden in derived classes to provide PersistenceProvider appropriate to the persistence technology used.
createPersistenceProvider() - Method in class com.sas.framework.expojo.PersistenceProviderFactory
Overridden in derived classes to provide PersistenceProvider appropriate to the persistence technology used.
createPersistenceProviderFactory(ServletContextEvent) - Method in class com.sas.framework.expojo.servlet.ExpojoServletContextListener
Overridden in a derived class to create the PersistenceProviderFactory.

D

delete(Object) - Method in class com.sas.framework.expojo.hibernate.HibernatePersistenceProvider
Deletes the persistent object from the datastore.
delete(Object) - Method in class com.sas.framework.expojo.jdo.JdoPersistenceProvider
Deletes the persistent object from the datastore.
delete(Object) - Method in class com.sas.framework.expojo.mock.MockPersistenceProvider
Deletes the persistent object from the datastore.
delete(Object) - Method in class com.sas.framework.expojo.PersistenceProvider
Deletes the persistent object from the datastore.
depth - Variable in class com.sas.framework.expojo.PersistenceProvider
Depth of the deepest transaction.
destroy() - Method in class com.sas.framework.expojo.ModelExposer
Destroys this thread's model exposer instance by setting it's ThreadLocal value instance to null.
destroy() - Method in class com.sas.framework.expojo.servlet.ExpojoServletFilter
Does nothing.
destroyApplication() - Method in class com.sas.framework.expojo.servlet.ExpojoServletContextListener
Called by the framework to allow application specific destruction behaviour.
detachThread() - Method in class com.sas.framework.expojo.ModelExposer
Detaches a ModelExposer from the current thread - enabling it to be garbage collected if necessary (assuming ThreadLocal had the last remaining reference to the ModelExposer).
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.sas.framework.expojo.servlet.ExpojoServletFilter
Call filter to performing filter operations and hand on request to the next filter in the chain.

E

establishGenesisObjects() - Method in class com.sas.framework.expojo.servlet.ExpojoServletContextListener
Genesis objects are the essential, persistent, system objects that must be created right at the beginning of the life of a new system and from which all other objects will go forth and multiply.
ExpojoServletContextListener - Class in com.sas.framework.expojo.servlet
Implements the ServletContextListener interface to initialize the exPOJO framework.
ExpojoServletContextListener() - Constructor for class com.sas.framework.expojo.servlet.ExpojoServletContextListener
Sets 'me' to this.
ExpojoServletFilter - Class in com.sas.framework.expojo.servlet
A servlet filter that automatically implements dependency injection by calls to attachThread at the start of doFilter and detachThread after the filter chain/servlet has generated the response.
ExpojoServletFilter() - Constructor for class com.sas.framework.expojo.servlet.ExpojoServletFilter
 

F

finalize() - Method in class com.sas.framework.expojo.ModelExposer
Calls to destroy the ModelExposer.
firstPersistedObject - Static variable in class com.sas.framework.expojo.mock.MockPersistenceProvider
Stores a reference to the first persisted object - which should be the system object.

G

get() - Static method in class com.sas.framework.expojo.ModelExposer
Returns the ModelExposer for the current thread.
get() - Static method in class com.sas.framework.expojo.servlet.ExpojoServletContextListener
Returns this singleton object.
getFirstPersistedObject() - Method in class com.sas.framework.expojo.mock.MockPersistenceProvider
Returns firstPersistedObject
getName() - Method in class com.sas.framework.expojo.ModelExposerComponent
Overridden in derived classes to return the name of the model exposer component.
getPersistenceProvider() - Method in class com.sas.framework.expojo.ModelExposer
Returns a ThreadLocal version of the appropriate PersistenceProvider.
getPersistenceProvider() - Method in class com.sas.framework.expojo.ModelExposerComponent
Returns a ThreadLocal version of the appropriate PersistenceProvider.
getPersistenceProviderFactory() - Method in class com.sas.framework.expojo.servlet.ExpojoServletContextListener
Returns persistenceProviderFactory.
getPm() - Method in class com.sas.framework.expojo.jdo.JdoPersistenceProvider
Returns pm
getPropertiesFilename() - Method in class com.sas.framework.expojo.jdo.JdoPersistenceProviderFactory
Returns the name of the properties file used for configuring the JDO datastore.
getPropertiesFilename() - Method in class com.sas.framework.expojo.jdo.jpox.JpoxJdoPersistenceProviderFactory
Returns the name of the properties file used for configuring the JDO datastore.
getPropertiesFilename() - Method in class com.sas.framework.expojo.jdo.kodo.KodoJdoPersistenceProviderFactory
Returns the name of the properties file used for configuring the JDO datastore.
getRepository(String) - Method in class com.sas.framework.expojo.ModelExposer
Returns a repository of the given name or null if not found.
getService(String) - Method in class com.sas.framework.expojo.ModelExposer
Returns the service of the given name or null if not found.
getSession() - Method in class com.sas.framework.expojo.hibernate.HibernatePersistenceProvider
Returns session
getSessionFactory() - Method in class com.sas.framework.expojo.hibernate.HibernatePersistenceProvider
Returns sessionFactory
getTraceTxDepth() - Method in class com.sas.framework.expojo.ModelExposer
Returns traceTxDepth
getTransaction() - Method in class com.sas.framework.expojo.hibernate.HibernatePersistenceProvider
Returns transaction

H

hasActiveTx() - Method in class com.sas.framework.expojo.hibernate.HibernatePersistenceProvider
Returns true if the PersistenceProvider has an active transaction.
hasActiveTx() - Method in class com.sas.framework.expojo.jdo.JdoPersistenceProvider
Returns true if the PersistenceProvider has an active transaction.
hasActiveTx() - Method in class com.sas.framework.expojo.mock.MockPersistenceProvider
Returns true if the PersistenceProvider has an active transaction.
hasActiveTx() - Method in class com.sas.framework.expojo.PersistenceProvider
Returns true if the PersistenceProvider has an active transaction.
HibernatePersistenceProvider - Class in com.sas.framework.expojo.hibernate
Provides persistence using Hibernate.
HibernatePersistenceProvider(SessionFactory) - Constructor for class com.sas.framework.expojo.hibernate.HibernatePersistenceProvider
Constructs the object giving it a SessionFactory so that it can make it's own Session(s).
HibernatePersistenceProviderFactory - Class in com.sas.framework.expojo.hibernate
Factory to supply HibernatePersistenceProvider instances as required.
HibernatePersistenceProviderFactory() - Constructor for class com.sas.framework.expojo.hibernate.HibernatePersistenceProviderFactory
 

I

init() - Method in class com.sas.framework.expojo.ModelExposer
This should be called after construction to allow initialization of the exposer components that have been added.
init(ModelExposer) - Method in class com.sas.framework.expojo.ModelExposerComponent
Overridden in derived classes to allow initialization.
init(FilterConfig) - Method in class com.sas.framework.expojo.servlet.ExpojoServletFilter
Does nothing.
initApplication() - Method in class com.sas.framework.expojo.servlet.ExpojoServletContextListener
Overridden in derived classes to perform any applicaiton specific initialization, if required, after the framework initialization has taken place.
isTestDb() - Method in class com.sas.framework.expojo.ModelExposer
Returns testDb
isTestDb() - Method in class com.sas.framework.expojo.PersistenceProviderFactory
Returns testDb

J

JdoPersistenceProvider - Class in com.sas.framework.expojo.jdo
Provides facilities for accessing transparent persistence via a JDO compliant persistence engine.
JdoPersistenceProvider(PersistenceManagerFactory) - Constructor for class com.sas.framework.expojo.jdo.JdoPersistenceProvider
Constructs the object.
JdoPersistenceProviderFactory - Class in com.sas.framework.expojo.jdo
A factory that produces JdoPersistenceProviders.
JdoPersistenceProviderFactory() - Constructor for class com.sas.framework.expojo.jdo.JdoPersistenceProviderFactory
 
JpoxJdoPersistenceProviderFactory - Class in com.sas.framework.expojo.jdo.jpox
Model exposer for JPOX persisted domain objects.
JpoxJdoPersistenceProviderFactory() - Constructor for class com.sas.framework.expojo.jdo.jpox.JpoxJdoPersistenceProviderFactory
 

K

KodoJdoPersistenceProviderFactory - Class in com.sas.framework.expojo.jdo.kodo
Model Exposer for KODO persistent domain objects.
KodoJdoPersistenceProviderFactory() - Constructor for class com.sas.framework.expojo.jdo.kodo.KodoJdoPersistenceProviderFactory
 

M

me - Static variable in class com.sas.framework.expojo.servlet.ExpojoServletContextListener
Returns this singleton.
MockPersistenceProvider - Class in com.sas.framework.expojo.mock
Provides a 'drop in' mock persistence provider that does not persist objects to a database.
MockPersistenceProvider() - Constructor for class com.sas.framework.expojo.mock.MockPersistenceProvider
Constructs the object giving it a PersistenceManager.
MockPersistenceProviderFactory - Class in com.sas.framework.expojo.mock
A mock persistence provider factory.
MockPersistenceProviderFactory() - Constructor for class com.sas.framework.expojo.mock.MockPersistenceProviderFactory
 
ModelExposer - Class in com.sas.framework.expojo
Central class for implementing the "Exposed Model" pattern.
ModelExposer(PersistenceProviderFactory) - Constructor for class com.sas.framework.expojo.ModelExposer
Constructs the object, passing in the persistence provider factory shared by all model exposers accessing a particular datastore.
modelExposer - Variable in class com.sas.framework.expojo.ModelExposerComponent
 
modelExposer - Variable in class com.sas.framework.expojo.PersistenceProvider
 
ModelExposerComponent - Class in com.sas.framework.expojo
Superclass for all service and repository components that expose the model.
ModelExposerComponent() - Constructor for class com.sas.framework.expojo.ModelExposerComponent
 

N

name - Variable in class com.sas.framework.expojo.ModelExposerComponent
Name of the component.

O

open() - Method in class com.sas.framework.expojo.hibernate.HibernatePersistenceProvider
Opens a persistence provider.
open() - Method in class com.sas.framework.expojo.jdo.JdoPersistenceProvider
Opens a persistence provider.
open() - Method in class com.sas.framework.expojo.mock.MockPersistenceProvider
Opens a persistence provider.
open() - Method in class com.sas.framework.expojo.PersistenceProvider
Opens a persistence provider.

P

persist(Object) - Method in class com.sas.framework.expojo.hibernate.HibernatePersistenceProvider
Makes the given object persistent.
persist(Object) - Method in class com.sas.framework.expojo.jdo.JdoPersistenceProvider
Makes the given object persistent.
persist(Object) - Method in class com.sas.framework.expojo.mock.MockPersistenceProvider
Makes the given object persistent.
persist(Object) - Method in class com.sas.framework.expojo.PersistenceProvider
Makes the given object persistent.
persistenceProvider - Variable in class com.sas.framework.expojo.ModelExposer
 
PersistenceProvider - Class in com.sas.framework.expojo
Superclass for all persistence providers.
PersistenceProvider() - Constructor for class com.sas.framework.expojo.PersistenceProvider
 
persistenceProviderFactory - Variable in class com.sas.framework.expojo.ModelExposer
 
PersistenceProviderFactory - Class in com.sas.framework.expojo
Superclass for all persistence provider factories.
PersistenceProviderFactory() - Constructor for class com.sas.framework.expojo.PersistenceProviderFactory
 
persistenceProviderFactory - Variable in class com.sas.framework.expojo.servlet.ExpojoServletContextListener
 
pm - Variable in class com.sas.framework.expojo.jdo.JdoPersistenceProvider
Stores a reference to the persistence manager.
pmf - Variable in class com.sas.framework.expojo.jdo.JdoPersistenceProvider
JDO persistence manager factory object.
pmf - Variable in class com.sas.framework.expojo.jdo.JdoPersistenceProviderFactory
A JDO PersistenceManagerFactory.
processException(RuntimeException) - Method in class com.sas.framework.expojo.hibernate.HibernatePersistenceProvider
Processes an exception thrown while in a transaction.
processException(RuntimeException) - Method in class com.sas.framework.expojo.jdo.JdoPersistenceProvider
Processes an exception thrown while in a transaction.
processException(RuntimeException) - Method in class com.sas.framework.expojo.mock.MockPersistenceProvider
Processes an exception thrown while in a transaction.
processException(RuntimeException) - Method in class com.sas.framework.expojo.PersistenceProvider
Processes an exception thrown while in a transaction.

R

repositories - Variable in class com.sas.framework.expojo.ModelExposer
 
RepositoryComponent - Class in com.sas.framework.expojo
Superclass for repository components - ie., those that provide facilities for finding and locating domain objects in the datastore.
RepositoryComponent() - Constructor for class com.sas.framework.expojo.RepositoryComponent
 
rollbackTx() - Method in class com.sas.framework.expojo.hibernate.HibernatePersistenceProvider
Rolls back a transaction.
rollbackTx() - Method in class com.sas.framework.expojo.jdo.JdoPersistenceProvider
Rolls back a transaction.
rollbackTx() - Method in class com.sas.framework.expojo.mock.MockPersistenceProvider
Rolls back a transaction.
rollbackTx() - Method in class com.sas.framework.expojo.PersistenceProvider
Rolls back a transaction.

S

ServiceComponent - Class in com.sas.framework.expojo
Superclass for exposer components exposing services - ie., that which can make changes to the objects in the datastore.
ServiceComponent() - Constructor for class com.sas.framework.expojo.ServiceComponent
 
services - Variable in class com.sas.framework.expojo.ModelExposer
 
session - Variable in class com.sas.framework.expojo.hibernate.HibernatePersistenceProvider
Hibernate session.
sessionFactory - Variable in class com.sas.framework.expojo.hibernate.HibernatePersistenceProvider
Hibernate session factory.
sessionFactory - Variable in class com.sas.framework.expojo.hibernate.HibernatePersistenceProviderFactory
It is expensive to create these so only do it once.
setFirstPersistedObject(Object) - Method in class com.sas.framework.expojo.mock.MockPersistenceProvider
Sets firstPersistedObject
setModelExposer(ModelExposer) - Method in class com.sas.framework.expojo.ModelExposerComponent
Sets the model exposer of which this component forms a part.
setModelExposer(ModelExposer) - Method in class com.sas.framework.expojo.PersistenceProvider
Sets the owning ModelExposer.
setPm(PersistenceManager) - Method in class com.sas.framework.expojo.jdo.JdoPersistenceProvider
Sets pm
setSession(Session) - Method in class com.sas.framework.expojo.hibernate.HibernatePersistenceProvider
Sets session
setSessionFactory(SessionFactory) - Method in class com.sas.framework.expojo.hibernate.HibernatePersistenceProvider
Sets sessionFactory
setTraceTxDepth(boolean) - Method in class com.sas.framework.expojo.ModelExposer
Sets traceTxDepth
setTransaction(Transaction) - Method in class com.sas.framework.expojo.hibernate.HibernatePersistenceProvider
Sets transaction

T

testDb - Variable in class com.sas.framework.expojo.PersistenceProviderFactory
True if dealing with a test database.
traceTxDepth - Variable in class com.sas.framework.expojo.ModelExposer
If true dumps information about the transaction depth each time begin, commit or rollback are called.
transaction - Variable in class com.sas.framework.expojo.hibernate.HibernatePersistenceProvider
The current transaction for the session, null if no transaction is currently associated with the session.

A B C D E F G H I J K M N O P R S T