クラス SpringBean

java.lang.ObjectSE
org.springframework.modulith.core.SpringBean

public class SpringBean extends ObjectSE
Spring Bean 型。
作成者:
Oliver Drotbohm
  • メソッドの詳細

    • of

      static SpringBean of(com.tngtech.archunit.core.domain.JavaClass type, ApplicationModule module)
      指定された JavaClass および ApplicationModule に対して新しい SpringBean を作成します。
      パラメーター:
      type - null であってはなりません。
      module - null であってはなりません。
    • getType

      public com.tngtech.archunit.core.domain.JavaClass getType()
      SpringBean の JavaClass を返します。
      戻り値:
      null になることはありません。
    • getFullyQualifiedTypeName

      public StringSE getFullyQualifiedTypeName()
      Spring Bean 型の完全修飾名を返します。
      戻り値:
      null または空になることはありません。
    • isApiBean

      public boolean isApiBean()
      Bean が API Bean であるとみなされるかどうかを返します。つまり、Bean がモジュールの API パッケージで公開されているパブリック型であるか、公開された API インターフェースを実装しているかのいずれかです。
    • getInterfacesWithinModule

      public ListSE<com.tngtech.archunit.core.domain.JavaClass> getInterfacesWithinModule()
      同じアプリケーションモジュールの一部であり、Bean によって実装されたすべてのインターフェースを返します。
      戻り値:
      null になることはありません。
    • toArchitecturallyEvidentType

      public ArchitecturallyEvidentType toArchitecturallyEvidentType()
      現在の SpringBean から新しい ArchitecturallyEvidentType を作成します。
      戻り値:
    • equals

      public boolean equals(ObjectSE obj)
      オーバーライド:
      クラス ObjectSEequalsSE 
    • hashCode

      public int hashCode()
      オーバーライド:
      クラス ObjectSEhashCode