spock.guice
Annotation Type UseModules
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface UseModules
Activates Guice integration for a specification.
The specified modules will be started before and stopped after the specification's execution.
Services will be injected into the specification based on regular Guice annotations.
Required Element Summary |
java.lang.Class<? extends com.google.inject.Module>[] |
value
|
value
public abstract java.lang.Class<? extends com.google.inject.Module>[] value
Copyright © 2013. All rights reserved