public class ShutdownEntry extends Object
| Constructor and Description |
|---|
ShutdownEntry(org.apache.avalon.framework.logger.Logger logger,
File applicationDir,
String location,
boolean useSystemExit)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasChanged() |
boolean |
isUseSystemExit() |
InputStream |
locate()
Creates an InputStream
|
public ShutdownEntry(org.apache.avalon.framework.logger.Logger logger, File applicationDir, String location, boolean useSystemExit)
logger - the logger to useapplicationDir - the home directory of the applicationlocation - the location to monitor for changesuseSystemExit - use System.exit() on shutdownpublic boolean hasChanged()
public boolean isUseSystemExit()
public InputStream locate() throws IOException
IOException - if unable to open the streamCopyright © 2004–1970 The Apache Software Foundation. All rights reserved.