Class ParserOpenFileMessage

  • All Implemented Interfaces:
    java.io.Serializable

    public abstract class ParserOpenFileMessage
    extends ome.util.messages.InternalMessage
    A trivial copy of RegisterServiceCleanupMessage with a different name so that we can catch files opened during search indexing and close them at the end of parsing.
    Since:
    5.0.0
    See Also:
    Serialized Form
    • Field Detail

      • resource

        public final java.lang.Object resource
    • Constructor Detail

      • ParserOpenFileMessage

        public ParserOpenFileMessage​(java.lang.Object source,
                                     java.lang.Object resource)
    • Method Detail

      • close

        public abstract void close()
        Used to close the passed in resource. May NOT throw an exception.