org.mortbay.util
Interface LifeCycle
- HttpHandler, HttpListener, LogSink, RequestLog, Service, SessionManager
- AbstractDataSourceService, AbstractHttpHandler, AbstractService, AbstractSessionManager, AJP13Listener, Container, DefaultDataSourceService, DumpHandler, ErrorPageHandler, ExpiryHandler, FilterHolder, ForwardHandler, HashSessionManager, Holder, HostSocketListener, HttpContext, HttpServer, HTAccessHandler, IbmJsseListener, IO, IPAccessHandler, JotmService, JsseListener, LifeCycleThread, Listener, MailService, MsieSslHandler, NCSARequestLog, NotFoundHandler, NullHandler, NullLogSink, OutputStreamLogSink, PlusWebAppContext, Pool, ProxyHandler, ResourceCache, ResourceHandler, RootNotFoundHandler, SecurityHandler, Server, Server, Server, ServletHandler, ServletHolder, ServletHttpContext, SetResponseHeadersHandler, SocketChannelListener, SocketListener, SslListener, SunJsseListener, ThreadedServer, ThreadPool, TMService, WebApplicationContext, WebApplicationHandler
public interface LifeCycle
A component LifeCycle.
Represents the life cycle interface for an abstract
software component.
$Id: LifeCycle.java,v 1.5 2004/05/09 20:32:49 gregwilkins Exp $
isStarted
public boolean isStarted()
- True if the LifeCycle has been started.
start
public void start()
throws Exception
Start the LifeCycle.
stop
public void stop()
throws InterruptedException
Stop the LifeCycle.
The LifeCycle may wait for current activities to complete
normally, but it can be interrupted.
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.