@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Import(value=org.springframework.guice.annotation.GuiceModuleRegistrar.class) public @interface GuiceModule
@Configuration
class (and if added to many then the filters are combined with logical OR). By default
all beans in the context will be bound to Guice with all of their implemented
interfaces. If you need to filter out which beans are added you can filter by class.SpringModule,
GuiceModuleMetadata| Modifier and Type | Optional Element and Description |
|---|---|
org.springframework.context.annotation.ComponentScan.Filter[] |
excludeFilters
Specifies which types are not eligible for inclusion in Guice module.
|
String[] |
excludeNames
Specifies which bean names (by simple wildcard match) are not eligible for inclusion in Guice module.
|
String[] |
excludePatterns
Specifies which bean names (by regex) are not eligible for inclusion in Guice module.
|
org.springframework.context.annotation.ComponentScan.Filter[] |
includeFilters
Specifies which types are eligible for inclusion in Guice module
|
String[] |
includeNames
Specifies which names (by simple wildcard match) are eligible for inclusion in Guice module
|
String[] |
includePatterns
Specifies which names (by regex) are eligible for inclusion in Guice module
|
public abstract org.springframework.context.annotation.ComponentScan.Filter[] includeFilters
public abstract org.springframework.context.annotation.ComponentScan.Filter[] excludeFilters
public abstract String[] includePatterns
public abstract String[] excludePatterns
public abstract String[] includeNames
public abstract String[] excludeNames
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.