public abstract class AbstractSpringComponentFinderStrategy
extends com.structurizr.analysis.AbstractComponentFinderStrategy
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
includePublicTypesOnly |
static java.lang.String |
SPRING_COMPONENT |
static java.lang.String |
SPRING_MVC_CONTROLLER |
static java.lang.String |
SPRING_REPOSITORY |
static java.lang.String |
SPRING_REST_CONTROLLER |
static java.lang.String |
SPRING_SERVICE |
static java.lang.String |
SPRING_WEB_SERVICE_ENDPOINT |
| Constructor and Description |
|---|
AbstractSpringComponentFinderStrategy(com.structurizr.analysis.SupportingTypesStrategy... strategies) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Set<com.structurizr.model.Component> |
findInterfacesForImplementationClassesWithAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> type,
java.lang.String technology) |
void |
setIncludePublicTypesOnly(boolean includePublicTypesOnly)
Sets whether this component finder strategy only finds components that are based upon public types.
|
addComponent, addSupportingTypesStrategy, afterFindComponents, beforeFindComponents, doFindComponents, findClassesWithAnnotation, findClassesWithAnnotation, findComponents, findDependencies, findSupportingTypes, findTypesAnnotatedWith, getComponentFinder, getDuplicateComponentStrategy, getTypeRepository, setComponentFinder, setDuplicateComponentStrategypublic static final java.lang.String SPRING_MVC_CONTROLLER
public static final java.lang.String SPRING_SERVICE
public static final java.lang.String SPRING_REPOSITORY
public static final java.lang.String SPRING_COMPONENT
public static final java.lang.String SPRING_REST_CONTROLLER
public static final java.lang.String SPRING_WEB_SERVICE_ENDPOINT
protected boolean includePublicTypesOnly
public AbstractSpringComponentFinderStrategy(com.structurizr.analysis.SupportingTypesStrategy... strategies)
protected java.util.Set<com.structurizr.model.Component> findInterfacesForImplementationClassesWithAnnotation(java.lang.Class<? extends java.lang.annotation.Annotation> type,
java.lang.String technology)
public void setIncludePublicTypesOnly(boolean includePublicTypesOnly)
includePublicTypesOnly - true for public types only, false otherwise