Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mortbay.jetty.deployer
Class ContextDeployer.ScannerListener

    java.lang.Object
      org.mortbay.jetty.deployer.ContextDeployer.ScannerListener

All Implemented Interfaces:
  Scanner.Listener

Enclosing class:
  ContextDeployer

    protected class ContextDeployer.ScannerListener

extends Object
implements Scanner.Listener

Constructor Summary
`protected` | `ContextDeployer.ScannerListener()`

Method Summary
`void` | `fileAdded(String filename)` Handle a new deployment
`void` | `fileChanged(String filename)` Handle a change to an existing deployment.
`void` | `fileRemoved(String filename)` Handle an undeploy.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ContextDeployer.ScannerListener

    protected ContextDeployer.ScannerListener()

Method Detail

### fileAdded

    public void fileAdded(String filename)
                   throws Exception

  Handle a new deployment

  Specified by:
    `fileAdded` in interface `Scanner.Listener`
  Throws:
    `Exception`
  See Also:
    `org.mortbay.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.Listener`
  Throws:
    `Exception`
  See Also:
    `org.mortbay.util.Scanner.FileChangedListener#fileChanged(java.lang.String)`

### fileRemoved

    public void fileRemoved(String filename)
                     throws Exception

  Handle an undeploy.

  Specified by:
    `fileRemoved` in interface `Scanner.Listener`
  Throws:
    `Exception`
  See Also:
    `org.mortbay.util.Scanner.FileRemovedListener#fileRemoved(java.lang.String)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2007 Mort Bay Consulting. All Rights Reserved.