Package org.springframework.guice.module
Class GuiceModuleMetadata
- java.lang.Object
-
- org.springframework.guice.module.GuiceModuleMetadata
-
- All Implemented Interfaces:
BindingTypeMatcher
public class GuiceModuleMetadata extends Object implements BindingTypeMatcher
Encapsulates some metadata about a Guice module that is to be created from a Spring application context. Can be used directly as a@Bean, but it is easier to just add@GuiceModuleto your@Configuration.- Author:
- Dave Syer
-
-
Constructor Summary
Constructors Constructor Description GuiceModuleMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GuiceModuleMetadataexclude(String... filters)GuiceModuleMetadataexclude(Pattern... filters)GuiceModuleMetadataexclude(org.springframework.core.type.filter.TypeFilter... filters)GuiceModuleMetadatainclude(String... filters)GuiceModuleMetadatainclude(Pattern... filters)GuiceModuleMetadatainclude(org.springframework.core.type.filter.TypeFilter... filters)booleanmatches(String name, Type type)
-
-
-
Method Detail
-
include
public GuiceModuleMetadata include(String... filters)
-
exclude
public GuiceModuleMetadata exclude(String... filters)
-
include
public GuiceModuleMetadata include(Pattern... filters)
-
exclude
public GuiceModuleMetadata exclude(Pattern... filters)
-
include
public GuiceModuleMetadata include(org.springframework.core.type.filter.TypeFilter... filters)
-
exclude
public GuiceModuleMetadata exclude(org.springframework.core.type.filter.TypeFilter... filters)
-
matches
public boolean matches(String name, Type type)
- Specified by:
matchesin interfaceBindingTypeMatcher
-
-