public interface CASMgr
| Modifier and Type | Method and Description |
|---|---|
void |
enableReset(boolean flag)
Enable/disable resetting the CAS with
CAS.reset(). |
void |
flush()
Deprecated.
Use
reset() instead. |
CAS |
getCAS()
Return a non-admin version of the CAS.
|
FSIndexRepositoryMgr |
getIndexRepositoryMgr()
Return a writable version of the index repository.
|
java.lang.ClassLoader |
getJCasClassLoader()
Gets the ClassLoader that should be used by the JCas to load the generated FS cover classes for
this CAS.
|
TypeSystemMgr |
getTypeSystemMgr()
Return a writable version of the type system.
|
void |
initCASIndexes()
Install the standard built-in indexes into the base CAS
|
void |
reset()
Flush this CAS instance of all transient data.
|
void |
setCAS(CAS cas) |
void |
setJCasClassLoader(java.lang.ClassLoader classLoader)
Sets the ClassLoader that should be used by the JCas to load the generated FS cover classes for
this CAS.
|
TypeSystemMgr getTypeSystemMgr()
FSIndexRepositoryMgr getIndexRepositoryMgr() throws CASAdminException
CASAdminException - If the type system has not been committed.@Deprecated
void flush()
throws CASAdminException
reset() instead.CASAdminExceptionvoid reset()
throws CASAdminException
CASAdminExceptionCAS getCAS() throws CASAdminException
CASAdminException - If the index repository has not been committed.void enableReset(boolean flag)
CAS.reset().flag - void setCAS(CAS cas)
void initCASIndexes()
throws CASException
CASExceptionjava.lang.ClassLoader getJCasClassLoader()
void setJCasClassLoader(java.lang.ClassLoader classLoader)
classLoader - the JCas ClassLoder for this CASCopyright © 2013. All Rights Reserved.