Class ContextualRegistration

java.lang.Object
org.wildfly.clustering.server.context.ContextualRegistration
All Implemented Interfaces:
AutoCloseable, Contextual, Registration

public class ContextualRegistration extends Object implements Contextual, Registration
A registration facade that reinstruments its lifecycle.
Author:
Paul Ferraro
  • Constructor Details

    • ContextualRegistration

      public ContextualRegistration(Registration registration, Runnable closeTask)
  • Method Details

    • end

      public void end()
      Description copied from interface: Contextual
      Indicates the end of this object's contextual lifecycle.
      Specified by:
      end in interface Contextual
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Registration