@java.lang.SuppressWarnings({"rawtypes", "unchecked"})
public abstract class AbstractDatastore
    Abstract Datastore implementation that deals with binding the Session to thread locale upon creation.
| Modifiers | Name | Description | 
|---|---|---|
| protected static org.slf4j.Logger | LOG | |
| protected TPCacheAdapterRepository | cacheAdapterRepository | |
| protected org.springframework.core.env.PropertyResolver | connectionDetails | |
| protected MappingContext | mappingContext | |
| protected ServiceRegistry | serviceRegistry | 
| Type | Name and description | 
|---|---|
| org.springframework.context.ApplicationContext | applicationContext | 
| Constructor and description | 
|---|
| AbstractDatastore
                                (MappingContext mappingContext) | 
| AbstractDatastore
                                (MappingContext mappingContext, java.util.Map<java.lang.String, java.lang.Object> connectionDetails, org.springframework.context.ConfigurableApplicationContext ctx) | 
| AbstractDatastore
                                (MappingContext mappingContext, org.springframework.core.env.PropertyResolver connectionDetails, org.springframework.context.ConfigurableApplicationContext ctx) | 
| AbstractDatastore
                                (MappingContext mappingContext, org.springframework.core.env.PropertyResolver connectionDetails, org.springframework.context.ConfigurableApplicationContext ctx, TPCacheAdapterRepository cacheAdapterRepository) | 
| AbstractDatastore
                                (MappingContext mappingContext, java.util.Map<java.lang.String, java.lang.Object> connectionDetails, org.springframework.context.ConfigurableApplicationContext ctx, TPCacheAdapterRepository cacheAdapterRepository) | 
| Type Params | Return Type | Name and description | 
|---|---|---|
|  | Session | connect() | 
|  | Session | connect(org.springframework.core.env.PropertyResolver connDetails) | 
|  | Session | connectStateless() | 
|  | protected Session | createSession(org.springframework.core.env.PropertyResolver connectionDetails)Creates the native session | 
|  | protected Session | createStatelessSession(org.springframework.core.env.PropertyResolver connectionDetails)Creates the native stateless session | 
|  | void | destroy() | 
|  | org.springframework.context.ConfigurableApplicationContext | getApplicationContext()@deprecated Deprecated, will be removed in a future version of GORM | 
|  | org.springframework.context.ApplicationEventPublisher | getApplicationEventPublisher() | 
|  | Session | getCurrentSession() | 
|  | MappingContext | getMappingContext() | 
| <T> | T | getService(java.lang.Class<T> interfaceType) | 
| <T extends Service> | java.lang.Iterable<T> | getServices() | 
|  | boolean | hasCurrentSession() | 
|  | protected void | initializeConverters(MappingContext mappingContext) | 
|  | protected boolean | isIndexed(PersistentProperty property) | 
|  | boolean | isSchemaless() | 
|  | protected static org.springframework.core.env.PropertyResolver | mapToPropertyResolver(java.util.Map<java.lang.String, java.lang.Object> connectionDetails) | 
|  | static Session | retrieveSession()Static way to retrieve the session | 
|  | static Session | retrieveSession(java.lang.Class datastoreClass)Static way to retrieve the session | 
|  | void | setApplicationContext(org.springframework.context.ApplicationContext ctx) | 
| <T> | T | withSession(groovy.lang.Closure<T> callable) | 
| Methods inherited from class | Name | 
|---|---|
| class java.lang.Object | java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() | 
Creates the native session
connectionDetails -  The session detailsCreates the native stateless session
connectionDetails -  The session detailsStatic way to retrieve the session
Static way to retrieve the session
datastoreClass -  The type of datastore