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 Summary

      Fields 
      Modifier and Type Field Description
      java.lang.Object resource  
      • Fields inherited from class ome.util.messages.InternalMessage

        threadSafe
      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      ParserOpenFileMessage​(java.lang.Object source, java.lang.Object resource)  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract void close()
      Used to close the passed in resource.
      • Methods inherited from class ome.util.messages.InternalMessage

        isThreadSafe
      • Methods inherited from class org.springframework.context.ApplicationEvent

        getTimestamp
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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.