public final class ConfigurationHooksSupport
extends java.lang.Object
Supposed to be used for integration tests.
GuiceyConfigurationRule
,
UseGuiceyConfiguration
Modifier and Type | Method and Description |
---|---|
static int |
count() |
static void |
register(GuiceyConfigurationHook hook)
Register hook for current thread.
|
static void |
reset()
May be called to remove improperly registered hooks (registered after context start).
|
static java.util.Set<GuiceyConfigurationHook> |
run(GuiceBundle.Builder builder)
Called just after manual application configuration (in application class).
|
public static void register(GuiceyConfigurationHook hook)
hook
- hook to registerpublic static void reset()
public static java.util.Set<GuiceyConfigurationHook> run(GuiceBundle.Builder builder)
builder
- just created builderpublic static int count()