org.apache.uima.cas
Class AbstractCas_ImplBase

java.lang.Object
  extended by org.apache.uima.cas.AbstractCas_ImplBase
All Implemented Interfaces:
AbstractCas

public abstract class AbstractCas_ImplBase
extends Object
implements AbstractCas

Base class from which CAS implementations should extend.


Constructor Summary
AbstractCas_ImplBase()
           
 
Method Summary
 void release()
          Default implementation that returns this CAS to its CasManager by calling CasOwner.releaseCas(AbstractCas).
 void setOwner(CasOwner aCasOwner)
          Provides this CAS with a handle to the CASOwner that owns it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractCas_ImplBase

public AbstractCas_ImplBase()
Method Detail

release

public void release()
Default implementation that returns this CAS to its CasManager by calling CasOwner.releaseCas(AbstractCas).

Specified by:
release in interface AbstractCas

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 -


Copyright © 2010 The Apache Software Foundation. All Rights Reserved.