Interface Stateful


  • public interface Stateful
    PlatformComponents can implement this interface to indicate that they may hold state that would be lost during a dynamic removal of the component. Implementors should take care to clear internal state whenever possible (typically in response to a Finished message if client-based or a Commit).
    • Method Detail

      • isCurrentlyHoldingState

        boolean isCurrentlyHoldingState()
        true if the component is currently holding state and cannot be safely removed dynamically. The system will guarantee that this method is not called (by it) while the component is currently processing a message/document and prevent new messages/documents from entering the component while the method is being called.