public class AdapaContext extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AdapaContext.Store
Type of Store.
|
Constructor and Description |
---|
AdapaContext(Class<?> callingClass)
Initialize an ADAPA Spring context.
|
AdapaContext(Class<?> callingClass,
AdapaContext.Store store)
Initialize an ADAPA Spring context.
|
AdapaContext(Class<?> callingClass,
String[] extraConfigurationLocations)
Initialize an ADAPA Spring context.
|
AdapaContext(Class<?> callingClass,
String[] extraConfigurationLocations,
AdapaContext.Store store)
Initialize an ADAPA Spring context.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the
AdapaContext and releases all resources. |
LibraryManager |
getLibraryManager() |
LibraryManager |
getLibraryManager(String userName) |
ModelsServiceProvider |
getModelsServiceProvider() |
ModelsServiceProvider |
getModelsServiceProvider(String userName) |
public AdapaContext(Class<?> callingClass)
callingClass
- the calling classpublic AdapaContext(Class<?> callingClass, String[] extraConfigurationLocations)
callingClass
- the calling classextraConfigurationLocations
- extra locations for configuration files within the classpathpublic AdapaContext(Class<?> callingClass, AdapaContext.Store store)
callingClass
- the calling classstore
- type of store to use (default is file store)public AdapaContext(Class<?> callingClass, String[] extraConfigurationLocations, AdapaContext.Store store)
callingClass
- the calling classextraConfigurationLocations
- extra locations for configuration files within the classpathstore
- type of store to use (default is file store)public final void close()
AdapaContext
and releases all resources.public final ModelsServiceProvider getModelsServiceProvider()
ModelsServiceProvider
public final ModelsServiceProvider getModelsServiceProvider(String userName)
userName
- the user nameModelsServiceProvider
for the userName
public final LibraryManager getLibraryManager()
LibraryManager
public final LibraryManager getLibraryManager(String userName)
userName
- the user nameLibraryManager
for the userName
Copyright © 2005–2016 Zementis, Inc.. All rights reserved.