|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.nominet.catnap.dao.CatnapSessionData
Handy wrapper class to bundle up into a single unit the common data objects defined within the catnap session which are required by all of the worker classes.
Constructor Summary | |
CatnapSessionData(CatnapSession session,
javax.sql.DataSource dataSource,
Schema schema,
java.util.Map interceptors,
java.util.Map sessionParameters)
|
Method Summary | |
javax.sql.DataSource |
getDataSource()
Get the data source in use by the current session |
java.util.List |
getInterceptors(java.lang.String entityName)
Get the catnap interceptor for an entity (null if non defined) |
Schema |
getSchema()
Get the catnap schema in use by the current session |
CatnapSession |
getSession()
Get the catnap session object for the current session |
java.util.Map |
getSessionParameters()
Get the session parameters set on execute of the method |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CatnapSessionData(CatnapSession session, javax.sql.DataSource dataSource, Schema schema, java.util.Map interceptors, java.util.Map sessionParameters)
Method Detail |
public CatnapSession getSession()
public javax.sql.DataSource getDataSource()
public Schema getSchema()
public java.util.List getInterceptors(java.lang.String entityName)
entityName
-
public java.util.Map getSessionParameters()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |