org.eclipse.jetty.deploy
Class ContextDeployer.ScannerListener
java.lang.Object
org.eclipse.jetty.deploy.ContextDeployer.ScannerListener
- All Implemented Interfaces:
- Scanner.DiscreteListener, Scanner.Listener
- Enclosing class:
- ContextDeployer
protected class ContextDeployer.ScannerListener
- extends Object
- implements Scanner.DiscreteListener
ContextDeployer.ScannerListener
protected ContextDeployer.ScannerListener()
fileAdded
public void fileAdded(String filename)
throws Exception
- Handle a new deployment
- Specified by:
fileAdded
in interface Scanner.DiscreteListener
- Throws:
Exception
- See Also:
org.eclipse.jetty.util.Scanner.FileAddedListener#fileAdded(java.lang.String)
fileChanged
public void fileChanged(String filename)
throws Exception
- Handle a change to an existing deployment. Undeploy then redeploy.
- Specified by:
fileChanged
in interface Scanner.DiscreteListener
- Throws:
Exception
- See Also:
org.eclipse.jetty.util.Scanner.FileChangedListener#fileChanged(java.lang.String)
fileRemoved
public void fileRemoved(String filename)
throws Exception
- Handle an undeploy.
- Specified by:
fileRemoved
in interface Scanner.DiscreteListener
- Throws:
Exception
- See Also:
org.eclipse.jetty.util.Scanner.FileRemovedListener#fileRemoved(java.lang.String)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 1995-2009 Mort Bay Consulting. All Rights Reserved.