Interface XccCallback<T>

  • All Known Implementing Classes:
    AdhocQueryCallback, InsertContentCallback

    public interface XccCallback<T>
    Spring-style callback interface that provides an open Session to an implementation, which then doesn't have to worry about how to open or close the Session.
    • Method Detail

      • execute

        T execute​(com.marklogic.xcc.Session session)
           throws com.marklogic.xcc.exceptions.RequestException
        Throws:
        com.marklogic.xcc.exceptions.RequestException