Class RegisterServiceCleanupMessage

  • All Implemented Interfaces:
    java.io.Serializable

    public abstract class RegisterServiceCleanupMessage
    extends ome.util.messages.InternalMessage
    Published when some resource must be cleaned up after method execution.
    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
      RegisterServiceCleanupMessage​(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

      • RegisterServiceCleanupMessage

        public RegisterServiceCleanupMessage​(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.