Class CleanerFactory

java.lang.Object
org.glassfish.hk2.utilities.CleanerFactory

public final class CleanerFactory extends Object
CleanerFactory provides a Cleaner reference which is created on the first reference to the CleanerFactory.
  • Constructor Details

    • CleanerFactory

      public CleanerFactory()
  • Method Details

    • create

      public static Cleaner create()
      This Cleaner will run on a thread whose context class loader is null. The system cleaning action to perform in this Cleaner should handle a null context class loader.
      Returns:
      a common cleaner reference