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 SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanup()voidregister(HasCleanup object)
 
- 
- 
- 
Method Detail- 
registerpublic void register(HasCleanup object) 
 - 
cleanuppublic void cleanup() - Specified by:
- cleanupin interface- HasCleanup
 
 
- 
 
-