Class DropwizardAppExtension
- java.lang.Object
-
- org.spockframework.runtime.extension.AbstractAnnotationDrivenExtension<T>
-
- ru.vyarus.dropwizard.guice.test.spock.ext.AbstractAppExtension<UseDropwizardApp>
-
- ru.vyarus.dropwizard.guice.test.spock.ext.DropwizardAppExtension
-
- All Implemented Interfaces:
org.spockframework.runtime.extension.IAnnotationDrivenExtension<UseDropwizardApp>
public class DropwizardAppExtension extends AbstractAppExtension<UseDropwizardApp>
Spock extension for starting complete dropwizard app.- Since:
- 03.01.2015
-
-
Constructor Summary
Constructors Constructor Description DropwizardAppExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected GuiceyInterceptor.EnvironmentSupportbuildSupport(UseDropwizardApp annotation, java.lang.Class<?> test)protected java.lang.Class<? extends ru.vyarus.dropwizard.guice.hook.GuiceyConfigurationHook>[]getHooks(UseDropwizardApp annotation)-
Methods inherited from class ru.vyarus.dropwizard.guice.test.spock.ext.AbstractAppExtension
convertOverrides, visitSpec, visitSpecAnnotation
-
-
-
-
Method Detail
-
buildSupport
protected GuiceyInterceptor.EnvironmentSupport buildSupport(UseDropwizardApp annotation, java.lang.Class<?> test)
- Specified by:
buildSupportin classAbstractAppExtension<UseDropwizardApp>- Parameters:
annotation- extension annotation instancetest- test class- Returns:
- environment support object
-
getHooks
protected java.lang.Class<? extends ru.vyarus.dropwizard.guice.hook.GuiceyConfigurationHook>[] getHooks(UseDropwizardApp annotation)
- Specified by:
getHooksin classAbstractAppExtension<UseDropwizardApp>- Parameters:
annotation- extension annotation instance- Returns:
- configuration hooks defined in annotation
-
-