Package org.codehaus.groovy.control
Class Janitor
java.lang.Object
org.codehaus.groovy.control.Janitor
- All Implemented Interfaces:
- HasCleanup
public class Janitor extends java.lang.Object implements HasCleanup
An agent that can be used to defer cleanup operations to
 a later time.  Users much implement the HasCleanup interface.
- 
Constructor SummaryConstructors Constructor Description Janitor()
- 
Method SummaryModifier and Type Method Description voidcleanup()voidregister(HasCleanup object)Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Constructor Details- 
Janitorpublic Janitor()
 
- 
- 
Method Details- 
register
- 
cleanuppublic void cleanup()- Specified by:
- cleanupin interface- HasCleanup
 
 
-