Class AbstractCas_ImplBase

  • All Implemented Interfaces:
    AbstractCas
    Direct Known Subclasses:
    CASImpl, JCasImpl

    public abstract class AbstractCas_ImplBase
    extends java.lang.Object
    implements AbstractCas
    Base class from which CAS implementations should extend.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private CasOwner mOwner  
    • 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 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

      • 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 - -