Package org.apache.uima.cas
Class AbstractCas_ImplBase
- java.lang.Object
-
- org.apache.uima.cas.AbstractCas_ImplBase
-
- All Implemented Interfaces:
AbstractCas
public abstract class AbstractCas_ImplBase extends java.lang.Object implements AbstractCas
Base class from which CAS implementations should extend.
-
-
Constructor Summary
Constructors Constructor Description AbstractCas_ImplBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
release()
Default implementation that returns this CAS to its CasManager by callingCasOwner.releaseCas(AbstractCas)
.void
setOwner(CasOwner aCasOwner)
Provides this CAS with a handle to the CASOwner that owns it.
-
-
-
Method Detail
-
release
public void release()
Default implementation that returns this CAS to its CasManager by callingCasOwner.releaseCas(AbstractCas)
.- Specified by:
release
in interfaceAbstractCas
-
setOwner
public void setOwner(CasOwner aCasOwner)
Provides this CAS with a handle to the CASOwner that owns it. This is called by the framework when a CAS instance is created. This handle is used to implement the release() method by returning the CAS to its CasOwner.- Parameters:
aCasOwner
- -
-
-