クラス SpringBean
java.lang.ObjectSE
org.springframework.modulith.core.SpringBean
Spring Bean 型。
- 作成者:
- Oliver Drotbohm
方法の概要
修飾子と型メソッド説明booleanSpring Bean 型の完全修飾名を返します。ListSE<com.tngtech.archunit.core.domain.JavaClass>同じアプリケーションモジュールの一部であり、Bean によって実装されたすべてのインターフェースを返します。com.tngtech.archunit.core.domain.JavaClassgetType()SpringBeanのJavaClassを返します。inthashCode()booleanBean が API Bean であるとみなされるかどうかを返します。つまり、Bean がモジュールの API パッケージで公開されているパブリック型であるか、公開された API インターフェースを実装しているかのいずれかです。booleanisAssignableTo(ClassSE<?> type) Bean が指定された型に代入可能かどうかを返します。(package private) static SpringBeanof(com.tngtech.archunit.core.domain.JavaClass type, ApplicationModule module) 現在のSpringBeanから新しいArchitecturallyEvidentTypeを作成します。
メソッドの詳細
of
- パラメーター:
type- null であってはなりません。module- null であってはなりません。
getType
public com.tngtech.archunit.core.domain.JavaClass getType()SpringBeanのJavaClassを返します。- 戻り値:
- null になることはありません。
getFullyQualifiedTypeName
Spring Bean 型の完全修飾名を返します。- 戻り値:
- null または空になることはありません。
isApiBean
public boolean isApiBean()Bean が API Bean であるとみなされるかどうかを返します。つまり、Bean がモジュールの API パッケージで公開されているパブリック型であるか、公開された API インターフェースを実装しているかのいずれかです。getInterfacesWithinModule
同じアプリケーションモジュールの一部であり、Bean によって実装されたすべてのインターフェースを返します。- 戻り値:
- null になることはありません。
toArchitecturallyEvidentType
現在のSpringBeanから新しいArchitecturallyEvidentTypeを作成します。- 戻り値:
isAssignableTo
Bean が指定された型に代入可能かどうかを返します。- パラメーター:
type- null であってはなりません。- 導入:
- 1.4
equals
hashCode
public int hashCode()