307294 Add AbstractLifeCycle.AbstractLifeCycleListener implementation

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1494 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Michael Gorovoy 2010-04-09 20:45:52 +00:00
parent a83cf7dc72
commit d0112baf50
3 changed files with 10 additions and 2 deletions

View File

@ -3,6 +3,7 @@ jetty-7.1-SNAPSHOT
+ 294563 Websocket client connection
+ 297104 Improve handling of CONNECT method
+ 306349 ProxyServlet does not work unless deployed at /
+ 307294 Add AbstractLifeCycle.AbstractLifeCycleListener implementation
+ 307847 Fixed combining mime type parameters
+ 307898 Handle large/async websocket messages
+ 308009 ObjectMBean incorrectly casts getTargetException() to Exception

View File

@ -211,5 +211,12 @@ public abstract class AbstractLifeCycle implements LifeCycle
}
}
public static abstract class AbstractLifeCycleListener implements LifeCycle.Listener
{
public void lifeCycleFailure(LifeCycle event, Throwable cause) {}
public void lifeCycleStarted(LifeCycle event) {}
public void lifeCycleStarting(LifeCycle event) {}
public void lifeCycleStopped(LifeCycle event) {}
public void lifeCycleStopping(LifeCycle event) {}
}
}

View File

@ -178,7 +178,7 @@ public class LifeCycleListenerTest extends TestCase
private class TestListener implements LifeCycle.Listener
private class TestListener extends AbstractLifeCycle.AbstractLifeCycleListener
{
private boolean failure = false;