org.codehaus.groovy.control
Class Janitor
java.lang.Object
org.codehaus.groovy.control.Janitor
- All Implemented Interfaces:
- HasCleanup
public class Janitor
- extends Object
- implements HasCleanup
An agent that can be used to defer cleanup operations to
a later time. Users much implement the HasCleanup interface.
- Version:
- $Id: Janitor.java 10493 2008-01-19 10:23:02Z russel $
- Author:
- Chris Poirier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Janitor
public Janitor()
register
public void register(HasCleanup object)
cleanup
public void cleanup()
- Specified by:
cleanup
in interface HasCleanup