blob: d83f36b17ab013b701d952efffc7d0f8bf5b8c32 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.10) on Fri Feb 26 09:50:23 CST 2021 -->
<title>AbstractLifeCycle (Jetty :: Project 9.4.38.v20210224 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2021-02-26">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AbstractLifeCycle (Jetty :: Project 9.4.38.v20210224 API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":9,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../../";
var useModuleDirectories = false;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/AbstractLifeCycle.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.eclipse.jetty.util.component</a></div>
<h2 title="Class AbstractLifeCycle" class="title">Class AbstractLifeCycle</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.eclipse.jetty.util.component.AbstractLifeCycle</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></code></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><code><a href="../../osgi/boot/AbstractContextProvider.html" title="class in org.eclipse.jetty.osgi.boot">AbstractContextProvider</a></code>, <code><a href="../../websocket/common/events/AbstractEventDriver.html" title="class in org.eclipse.jetty.websocket.common.events">AbstractEventDriver</a></code>, <code><a href="../../websocket/common/extensions/AbstractExtension.html" title="class in org.eclipse.jetty.websocket.common.extensions">AbstractExtension</a></code>, <code><a href="../preventers/AbstractLeakPreventer.html" title="class in org.eclipse.jetty.util.preventers">AbstractLeakPreventer</a></code>, <code><a href="../../osgi/boot/AbstractWebAppProvider.html" title="class in org.eclipse.jetty.osgi.boot">AbstractWebAppProvider</a></code>, <code><a href="../../server/AcceptRateLimit.html" title="class in org.eclipse.jetty.server">AcceptRateLimit</a></code>, <code><a href="../../servlet/BaseHolder.html" title="class in org.eclipse.jetty.servlet">BaseHolder</a></code>, <code><a href="../compression/CompressionPool.html" title="class in org.eclipse.jetty.util.compression">CompressionPool</a></code>, <code><a href="../../server/ConnectionLimit.html" title="class in org.eclipse.jetty.server">ConnectionLimit</a></code>, <code><a href="../../io/ConnectionStatistics.html" title="class in org.eclipse.jetty.io">ConnectionStatistics</a></code>, <code><a href="../../jmx/ConnectorServer.html" title="class in org.eclipse.jetty.jmx">ConnectorServer</a></code>, <code><a href="../../server/ConnectorStatistics.html" title="class in org.eclipse.jetty.server">ConnectorStatistics</a></code>, <code><a href="ContainerLifeCycle.html" title="class in org.eclipse.jetty.util.component">ContainerLifeCycle</a></code>, <code><a href="../../server/DebugListener.html" title="class in org.eclipse.jetty.server">DebugListener</a></code>, <code><a href="../../server/session/HouseKeeper.html" title="class in org.eclipse.jetty.server.session">HouseKeeper</a></code>, <code><a href="../../websocket/jsr356/JsrSessionTracker.html" title="class in org.eclipse.jetty.websocket.jsr356">JsrSessionTracker</a></code>, <code><a href="../LeakDetector.html" title="class in org.eclipse.jetty.util">LeakDetector</a></code>, <code><a href="../../memcached/session/MemcachedSessionDataMap.html" title="class in org.eclipse.jetty.memcached.session">MemcachedSessionDataMap</a></code>, <code><a href="../PathWatcher.html" title="class in org.eclipse.jetty.util">PathWatcher</a></code>, <code><a href="../../jaas/PropertyUserStoreManager.html" title="class in org.eclipse.jetty.jaas">PropertyUserStoreManager</a></code>, <code><a href="../../server/RequestLogWriter.html" title="class in org.eclipse.jetty.server">RequestLogWriter</a></code>, <code><a href="../thread/ReservedThreadExecutor.html" title="class in org.eclipse.jetty.util.thread">ReservedThreadExecutor</a></code>, <code><a href="../Scanner.html" title="class in org.eclipse.jetty.util">Scanner</a></code>, <code><a href="../../deploy/providers/ScanningAppProvider.html" title="class in org.eclipse.jetty.deploy.providers">ScanningAppProvider</a></code>, <code><a href="../thread/ScheduledExecutorScheduler.html" title="class in org.eclipse.jetty.util.thread">ScheduledExecutorScheduler</a></code>, <code><a href="../../annotations/ServletContainerInitializersStarter.html" title="class in org.eclipse.jetty.annotations">ServletContainerInitializersStarter</a></code>, <code><a href="../../servlet/ServletContextHandler.Initializer.html" title="class in org.eclipse.jetty.servlet">ServletContextHandler.Initializer</a></code>, <code><a href="../../websocket/common/SessionTracker.html" title="class in org.eclipse.jetty.websocket.common">SessionTracker</a></code>, <code><a href="../../server/Slf4jRequestLogWriter.html" title="class in org.eclipse.jetty.server">Slf4jRequestLogWriter</a></code>, <code><a href="../../security/SpnegoLoginService.html" title="class in org.eclipse.jetty.security">SpnegoLoginService</a></code>, <code><a href="../ssl/SslContextFactory.html" title="class in org.eclipse.jetty.util.ssl">SslContextFactory</a></code>, <code><a href="StopLifeCycle.html" title="class in org.eclipse.jetty.util.component">StopLifeCycle</a></code>, <code><a href="../thread/Sweeper.html" title="class in org.eclipse.jetty.util.thread">Sweeper</a></code>, <code><a href="../thread/TimerScheduler.html" title="class in org.eclipse.jetty.util.thread">TimerScheduler</a></code>, <code><a href="../../security/UserStore.html" title="class in org.eclipse.jetty.security">UserStore</a></code></dd>
</dl>
<hr>
<pre><a href="../annotation/ManagedObject.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedObject</a>("Abstract Implementation of LifeCycle")
public abstract class <span class="typeNameLabel">AbstractLifeCycle</span>
extends java.lang.Object
implements <a href="LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></pre>
<div class="block">Basic implementation of the life cycle interface for components.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="AbstractLifeCycle.AbstractLifeCycleListener.html" title="class in org.eclipse.jetty.util.component">AbstractLifeCycle.AbstractLifeCycleListener</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="nested.classes.inherited.from.class.org.eclipse.jetty.util.component.LifeCycle">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.eclipse.jetty.util.component.<a href="LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></h3>
<code><a href="LifeCycle.Listener.html" title="interface in org.eclipse.jetty.util.component">LifeCycle.Listener</a></code></li>
</ul>
</li>
</ul>
</section>
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#FAILED">FAILED</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#RUNNING">RUNNING</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#STARTED">STARTED</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#STARTING">STARTING</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#STOPPED">STOPPED</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#STOPPING">STOPPING</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">AbstractLifeCycle</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener)">addLifeCycleListener</a></span>&#8203;(<a href="LifeCycle.Listener.html" title="interface in org.eclipse.jetty.util.component">LifeCycle.Listener</a>&nbsp;listener)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#doStart()">doStart</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>protected void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#doStop()">doStop</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getState()">getState</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getState(org.eclipse.jetty.util.component.LifeCycle)">getState</a></span>&#8203;(<a href="LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a>&nbsp;lc)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>long</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStopTimeout()">getStopTimeout</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isFailed()">isFailed</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isRunning()">isRunning</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isStarted()">isStarted</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isStarting()">isStarting</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isStopped()">isStopped</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isStopping()">isStopping</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener)">removeLifeCycleListener</a></span>&#8203;(<a href="LifeCycle.Listener.html" title="interface in org.eclipse.jetty.util.component">LifeCycle.Listener</a>&nbsp;listener)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setStopTimeout(long)">setStopTimeout</a></span>&#8203;(long&nbsp;stopTimeout)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#start()">start</a></span>()</code></th>
<td class="colLast">
<div class="block">Starts the component.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#stop()">stop</a></span>()</code></th>
<td class="colLast">
<div class="block">Stops the component.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="STOPPED">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>STOPPED</h4>
<pre>public static final&nbsp;java.lang.String STOPPED</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.eclipse.jetty.util.component.AbstractLifeCycle.STOPPED">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="FAILED">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FAILED</h4>
<pre>public static final&nbsp;java.lang.String FAILED</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.eclipse.jetty.util.component.AbstractLifeCycle.FAILED">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="STARTING">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>STARTING</h4>
<pre>public static final&nbsp;java.lang.String STARTING</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.eclipse.jetty.util.component.AbstractLifeCycle.STARTING">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="STARTED">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>STARTED</h4>
<pre>public static final&nbsp;java.lang.String STARTED</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.eclipse.jetty.util.component.AbstractLifeCycle.STARTED">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="STOPPING">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>STOPPING</h4>
<pre>public static final&nbsp;java.lang.String STOPPING</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.eclipse.jetty.util.component.AbstractLifeCycle.STOPPING">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="RUNNING">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>RUNNING</h4>
<pre>public static final&nbsp;java.lang.String RUNNING</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.eclipse.jetty.util.component.AbstractLifeCycle.RUNNING">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AbstractLifeCycle</h4>
<pre>public&nbsp;AbstractLifeCycle()</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="doStart()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doStart</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;doStart()
throws java.lang.Exception</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="doStop()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doStop</h4>
<pre class="methodSignature">protected&nbsp;void&nbsp;doStop()
throws java.lang.Exception</pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="start()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>start</h4>
<pre class="methodSignature">public final&nbsp;void&nbsp;start()
throws java.lang.Exception</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="LifeCycle.html#start()">LifeCycle</a></code></span></div>
<div class="block">Starts the component.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="LifeCycle.html#start()">start</a></code>&nbsp;in interface&nbsp;<code><a href="LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - If the component fails to start</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="LifeCycle.html#isStarted()"><code>LifeCycle.isStarted()</code></a>,
<a href="LifeCycle.html#stop()"><code>LifeCycle.stop()</code></a>,
<a href="LifeCycle.html#isFailed()"><code>LifeCycle.isFailed()</code></a></dd>
</dl>
</li>
</ul>
<a id="stop()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>stop</h4>
<pre class="methodSignature">public final&nbsp;void&nbsp;stop()
throws java.lang.Exception</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="LifeCycle.html#stop()">LifeCycle</a></code></span></div>
<div class="block">Stops the component.
The component may wait for current activities to complete
normally, but it can be interrupted.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="LifeCycle.html#stop()">stop</a></code>&nbsp;in interface&nbsp;<code><a href="LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - If the component fails to stop</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="LifeCycle.html#isStopped()"><code>LifeCycle.isStopped()</code></a>,
<a href="LifeCycle.html#start()"><code>LifeCycle.start()</code></a>,
<a href="LifeCycle.html#isFailed()"><code>LifeCycle.isFailed()</code></a></dd>
</dl>
</li>
</ul>
<a id="isRunning()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isRunning</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isRunning()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="LifeCycle.html#isRunning()">isRunning</a></code>&nbsp;in interface&nbsp;<code><a href="LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the component is starting or has been started.</dd>
</dl>
</li>
</ul>
<a id="isStarted()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isStarted</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isStarted()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="LifeCycle.html#isStarted()">isStarted</a></code>&nbsp;in interface&nbsp;<code><a href="LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the component has been started.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="LifeCycle.html#start()"><code>LifeCycle.start()</code></a>,
<a href="LifeCycle.html#isStarting()"><code>LifeCycle.isStarting()</code></a></dd>
</dl>
</li>
</ul>
<a id="isStarting()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isStarting</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isStarting()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="LifeCycle.html#isStarting()">isStarting</a></code>&nbsp;in interface&nbsp;<code><a href="LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the component is starting.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="LifeCycle.html#isStarted()"><code>LifeCycle.isStarted()</code></a></dd>
</dl>
</li>
</ul>
<a id="isStopping()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isStopping</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isStopping()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="LifeCycle.html#isStopping()">isStopping</a></code>&nbsp;in interface&nbsp;<code><a href="LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the component is stopping.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="LifeCycle.html#isStopped()"><code>LifeCycle.isStopped()</code></a></dd>
</dl>
</li>
</ul>
<a id="isStopped()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isStopped</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isStopped()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="LifeCycle.html#isStopped()">isStopped</a></code>&nbsp;in interface&nbsp;<code><a href="LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the component has been stopped.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="LifeCycle.html#stop()"><code>LifeCycle.stop()</code></a>,
<a href="LifeCycle.html#isStopping()"><code>LifeCycle.isStopping()</code></a></dd>
</dl>
</li>
</ul>
<a id="isFailed()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isFailed</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;isFailed()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="LifeCycle.html#isFailed()">isFailed</a></code>&nbsp;in interface&nbsp;<code><a href="LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the component has failed to start or has failed to stop.</dd>
</dl>
</li>
</ul>
<a id="addLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addLifeCycleListener</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;addLifeCycleListener&#8203;(<a href="LifeCycle.Listener.html" title="interface in org.eclipse.jetty.util.component">LifeCycle.Listener</a>&nbsp;listener)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="LifeCycle.html#addLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener)">addLifeCycleListener</a></code>&nbsp;in interface&nbsp;<code><a href="LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></code></dd>
</dl>
</li>
</ul>
<a id="removeLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeLifeCycleListener</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;removeLifeCycleListener&#8203;(<a href="LifeCycle.Listener.html" title="interface in org.eclipse.jetty.util.component">LifeCycle.Listener</a>&nbsp;listener)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="LifeCycle.html#removeLifeCycleListener(org.eclipse.jetty.util.component.LifeCycle.Listener)">removeLifeCycleListener</a></code>&nbsp;in interface&nbsp;<code><a href="LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a></code></dd>
</dl>
</li>
</ul>
<a id="getState()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getState</h4>
<pre class="methodSignature"><a href="../annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>(<a href="../annotation/ManagedAttribute.html#value()">value</a>="Lifecycle State for this instance",
<a href="../annotation/ManagedAttribute.html#readonly()">readonly</a>=true)
public&nbsp;java.lang.String&nbsp;getState()</pre>
</li>
</ul>
<a id="getState(org.eclipse.jetty.util.component.LifeCycle)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getState</h4>
<pre class="methodSignature">public static&nbsp;java.lang.String&nbsp;getState&#8203;(<a href="LifeCycle.html" title="interface in org.eclipse.jetty.util.component">LifeCycle</a>&nbsp;lc)</pre>
</li>
</ul>
<a id="getStopTimeout()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStopTimeout</h4>
<pre class="methodSignature"><a href="../annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("The stop timeout in milliseconds")
public&nbsp;long&nbsp;getStopTimeout()</pre>
</li>
</ul>
<a id="setStopTimeout(long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStopTimeout</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setStopTimeout&#8203;(long&nbsp;stopTimeout)</pre>
</li>
</ul>
<a id="toString()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre class="methodSignature">public&nbsp;java.lang.String&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/AbstractLifeCycle.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 1995&#x2013;2021 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p>
</footer>
</body>
</html>