Package io.dropwizard.testing.junit
Class DropwizardAppRule.ServiceListener<T extends io.dropwizard.core.Configuration>
- java.lang.Object
-
- io.dropwizard.testing.junit.DropwizardAppRule.ServiceListener<T>
-
- Enclosing class:
- DropwizardAppRule<C extends io.dropwizard.core.Configuration>
public abstract static class DropwizardAppRule.ServiceListener<T extends io.dropwizard.core.Configuration> extends Object
-
-
Constructor Summary
Constructors Constructor Description ServiceListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonRun(T configuration, io.dropwizard.core.setup.Environment environment, DropwizardAppRule<T> rule)voidonStop(DropwizardAppRule<T> rule)
-
-
-
Method Detail
-
onRun
public void onRun(T configuration, io.dropwizard.core.setup.Environment environment, DropwizardAppRule<T> rule) throws Exception
- Throws:
Exception
-
onStop
public void onStop(DropwizardAppRule<T> rule) throws Exception
- Throws:
Exception
-
-