Interface RenderCallback


@Deprecated public interface RenderCallback
Deprecated.
The RenditionService is being replace by the simpler async RenditionService2.
This interface defines a callback object which can be used to handle the ultimate result of asynchronous renditions.
Author:
Neil McErlean
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    This callback method will be called upon unsuccessful completion of an asynchronous rendition.
    void
    handleSuccessfulRendition(ChildAssociationRef primaryParentOfNewRendition)
    Deprecated.
    This callback method will be called upon successful completion of an asynchronous rendition.
  • Method Details

    • handleSuccessfulRendition

      void handleSuccessfulRendition(ChildAssociationRef primaryParentOfNewRendition)
      Deprecated.
      This callback method will be called upon successful completion of an asynchronous rendition.
      Parameters:
      primaryParentOfNewRendition - a ChildAssociationRef linking the new rendition object to its primary parent.
    • handleFailedRendition

      void handleFailedRendition(Throwable t)
      Deprecated.
      This callback method will be called upon unsuccessful completion of an asynchronous rendition.
      Parameters:
      t - the Throwable giving the cause of the rendition failure.