public class RuntimeBeanReference extends ObjectSE implements BeanReference
BeanDefinition.getPropertyValues()
, BeanFactory.getBean(String)
, BeanFactory.getBean(Class)
コンストラクターと説明 |
---|
RuntimeBeanReference(ClassSE<?> beanType) 指定された型の Bean に新しい RuntimeBeanReference を作成します。 |
RuntimeBeanReference(ClassSE<?> beanType, boolean toParent) 指定された型の Bean に新しい RuntimeBeanReference を作成し、それを親ファクトリの Bean への参照としてマークするオプションを使用します。 |
RuntimeBeanReference(StringSE beanName) 指定された Bean 名で新しい RuntimeBeanReference を作成します。 |
RuntimeBeanReference(StringSE beanName, boolean toParent) 指定された Bean 名に新しい RuntimeBeanReference を作成し、それを親ファクトリの Bean への参照としてマークするオプションを付けます。 |
修飾子と型 | メソッドと説明 |
---|---|
boolean | equals(ObjectSE other) |
StringSE | getBeanName() リクエストされた Bean 名、または型による解決の場合は完全修飾型名を返します。 |
ClassSE<?> | getBeanType() 型による解決がリクエストされる場合、リクエストされた Bean 型を返します。 |
ObjectSE | getSource() このメタデータ要素の構成ソース Object を返します(null の場合があります)。 |
int | hashCode() |
boolean | isToParent() これが親ファクトリの Bean への明示的な参照であるかどうかを返します。 |
void | setSource(ObjectSE source) このメタデータ要素の構成ソース Object を設定します。 |
StringSE | toString() |
cloneSE, finalizeSE, getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public RuntimeBeanReference(StringSE beanName)
beanName
- ターゲット Bean の名前 public RuntimeBeanReference(StringSE beanName, boolean toParent)
beanName
- ターゲット Bean の名前 toParent
- これが親ファクトリの Bean への明示的な参照かどうか public RuntimeBeanReference(ClassSE<?> beanType)
beanType
- ターゲット Bean の型 public RuntimeBeanReference(ClassSE<?> beanType, boolean toParent)
beanType
- ターゲット Bean の型 toParent
- これが親ファクトリの Bean への明示的な参照かどうか public StringSE getBeanName()
BeanReference
の getBeanName
getBeanType()
public boolean isToParent()
public void setSource(@Nullable ObjectSE source)
Object
を設定します。オブジェクトの正確な型は、使用される構成メカニズムによって異なります。
@Nullable public ObjectSE getSource()
BeanMetadataElement
Object
を返します(null
の場合があります)。BeanMetadataElement
の getSource
public int hashCode()
ObjectSE
の hashCodeSE
public StringSE toString()
ObjectSE
の toStringSE