Interface ICallContext

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
CallContext, SystemCallContext

public interface ICallContext extends AutoCloseable
It's a base interface of call context. Its implementations allow to execute db operations in one transaction and provides methods to access base units of celesta.
  • Method Details

    • getConn

      Connection getConn()
      Connection with database.
    • isClosed

      boolean isClosed()
      Whether the context was closed.
    • getDbAdaptor

      DBAdaptor getDbAdaptor()
      Returns actual implementation of DBAdaptor.
    • getScore

      AbstractScore getScore()
      Returns Celesta score.
    • close

      void close()
      Specified by:
      close in interface AutoCloseable