Class SpringBean
java.lang.Object
org.springframework.modulith.core.SpringBean
A Spring bean type.
- Author:
- Oliver Drotbohm
- 
Method SummaryModifier and TypeMethodDescriptionbooleanReturns the fully-qualified name of the Spring bean type.List<com.tngtech.archunit.core.domain.JavaClass>Returns all interfaces implemented by the bean that are part of the same application module.com.tngtech.archunit.core.domain.JavaClassgetType()Returns theJavaClassof theSpringBean.inthashCode()booleanReturns whether the bean is considered to be an API bean, which means it is either a public type exposed in an API package of the module or implements an exposed API interface.(package private) static SpringBeanof(com.tngtech.archunit.core.domain.JavaClass type, ApplicationModule module) Creates a newArchitecturallyEvidentTypefrom the currentSpringBean.
- 
Method Details- 
of- Parameters:
- type- must not be null.
- module- must not be null.
 
- 
getTypepublic com.tngtech.archunit.core.domain.JavaClass getType()Returns theJavaClassof theSpringBean.- Returns:
- will never be null.
 
- 
getFullyQualifiedTypeNameReturns the fully-qualified name of the Spring bean type.- Returns:
- will never be null or empty.
 
- 
isApiBeanpublic boolean isApiBean()Returns whether the bean is considered to be an API bean, which means it is either a public type exposed in an API package of the module or implements an exposed API interface.
- 
getInterfacesWithinModuleReturns all interfaces implemented by the bean that are part of the same application module.- Returns:
- will never be null.
 
- 
toArchitecturallyEvidentTypeCreates a newArchitecturallyEvidentTypefrom the currentSpringBean.- Returns:
 
- 
equals
- 
hashCodepublic int hashCode()
 
-