Interface I_DomainAccess
- All Known Implementing Classes:
AqlQueryHandler,AttestationAccess,AuditDetailsAccess,CompositionAccess,CompositionHistoryAccess,CompoXRefAccess,ContextAccess,ContributionAccess,DataAccess,DatabaseStatusAccess,DummyDataAccess,EhrAccess,EntryAccess,ServiceDataAccess,StatusAccess,StatusHistoryAccess,StoredQueryAccess,SystemAccess,TemplateStoreAccess
public interface I_DomainAccess
Helper to hold SQL context and knowledge cache reference
Created by Christian Chevalley on 4/21/2015.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Method Summary
Modifier and TypeMethodDescriptionget the JDBC connection to the DBorg.jooq.DSLContextget the jOOQ DSL context to perform DB queriesorg.jooq.SQLDialectget jOOQ SQL dialectstatic I_DomainAccessgetInstance(I_DomainAccess dataAccess) get the interface to the current knowledge cachevoidreleaseConnection(Connection connection) have JOOQ release the DB connection
-
Field Details
-
PG_POOL
- See Also:
-
DBCP2_POOL
- See Also:
-
KEY_MAX_IDLE
- See Also:
-
KEY_MAX_ACTIVE
- See Also:
-
KEY_REMOVE_ABANDONNED
- See Also:
-
KEY_REMOVE_ABANDONNED_TIMEOUT
- See Also:
-
KEY_TEST_ON_BORROW
- See Also:
-
KEY_LOG_ABANDONNED
- See Also:
-
KEY_AUTO_RECONNECT
- See Also:
-
KEY_DIALECT
- See Also:
-
KEY_URL
- See Also:
-
KEY_LOGIN
- See Also:
-
KEY_PASSWORD
- See Also:
-
KEY_KNOWLEDGE
- See Also:
-
KEY_HOST
- See Also:
-
KEY_PORT
- See Also:
-
KEY_MAX_CONNECTION
- See Also:
-
KEY_INITIAL_CONNECTIONS
- See Also:
-
KEY_CONNECTION_MODE
- See Also:
-
KEY_DATABASE
- See Also:
-
KEY_WAIT_MS
- See Also:
-
KEY_SCHEMA
- See Also:
-
KEY_SET_POOL_PREPARED_STATEMENTS
- See Also:
-
KEY_SET_MAX_PREPARED_STATEMENTS
- See Also:
-
KEY_INTROSPECT_CACHE
- See Also:
-
-
Method Details
-
getInstance
-
getDialect
org.jooq.SQLDialect getDialect()get jOOQ SQL dialect- Returns:
- SQLDialect
- See Also:
-
SQLDialect
-
getConnection
Connection getConnection()get the JDBC connection to the DB- Returns:
- Connection
- See Also:
-
releaseConnection
have JOOQ release the DB connection -
getContext
org.jooq.DSLContext getContext()get the jOOQ DSL context to perform DB queries- Returns:
- DSLContext
- See Also:
-
DSLContext
-
getKnowledgeManager
I_KnowledgeCache getKnowledgeManager()get the interface to the current knowledge cache- Returns:
- I_KnowledgeCache
- See Also:
-
getIntrospectService
IntrospectService getIntrospectService() -
getServerConfig
ServerConfig getServerConfig() -
getDataAccess
DataAccess getDataAccess()
-