Package org.codehaus.groovy.control
Class Janitor
java.lang.Object
org.codehaus.groovy.control.Janitor
- All Implemented Interfaces:
HasCleanup
An agent that can be used to defer cleanup operations to
a later time. Users much implement the HasCleanup interface.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Janitor
public Janitor()
-
-
Method Details
-
register
-
cleanup
public void cleanup()- Specified by:
cleanup
in interfaceHasCleanup
-