Package io.dropwizard.lifecycle
Class JettyManaged
- java.lang.Object
-
- org.eclipse.jetty.util.component.AbstractLifeCycle
-
- io.dropwizard.lifecycle.JettyManaged
-
-
Constructor Summary
Constructors Constructor Description JettyManaged(Managed managed)Creates a new JettyManaged wrappingmanaged.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoStart()protected voiddoStop()ManagedgetManaged()StringtoString()-
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addEventListener, getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, setEventListeners, start, stop
-
-
-
-
Method Detail
-
getManaged
public Managed getManaged()
-
doStart
protected void doStart() throws Exception- Overrides:
doStartin classorg.eclipse.jetty.util.component.AbstractLifeCycle- Throws:
Exception
-
doStop
protected void doStop() throws Exception- Overrides:
doStopin classorg.eclipse.jetty.util.component.AbstractLifeCycle- Throws:
Exception
-
toString
public String toString()
- Overrides:
toStringin classorg.eclipse.jetty.util.component.AbstractLifeCycle
-
-