Class ContextualOperation

    • Constructor Detail

      • ContextualOperation

        protected ContextualOperation​(OperationContext context)
        Creates a new instance using the required operation context. A new BaseConnection will be created.
      • ContextualOperation

        protected ContextualOperation​(BaseConnection<OperationContext> connection)
        Creates a new instance using the required base connection.
    • Method Detail

      • getConnection

        public BaseConnection<OperationContext> getConnection()
        Returns the base connection that was either provided or created when this instance was created.
        Returns:
        the base connection
      • getContext

        public OperationContext getContext()
        Returns the OperationContext provided when the operation was constructed.
        Returns:
        the operation context