|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.cubby.spi.beans.impl.DefaultBeanDescProvider
public class DefaultBeanDescProvider
BeanDesc
のプロバイダの標準的な実装です。
Introspector
によって生成されるメタ情報とそのフィールドの情報を元に BeanDesc
を構築します。
入れ子のクラスの概要 | |
---|---|
protected static class |
DefaultBeanDescProvider.BeanDescImpl
BeanDesc の実装です。 |
protected static class |
DefaultBeanDescProvider.FieldAttribute
フィールドに対する Attribute の実装です。 |
protected static class |
DefaultBeanDescProvider.ParameterizedClassDescImpl
ParameterizedClassDesc の実装クラスです。 |
protected static class |
DefaultBeanDescProvider.PropertyAttribute
プロパティに対する Attribute の実装です。 |
フィールドの概要 | |
---|---|
protected Map<Class<?>,BeanDesc> |
beanDescCache
BeanDesc のキャッシュ。 |
コンストラクタの概要 | |
---|---|
DefaultBeanDescProvider()
|
メソッドの概要 | |
---|---|
protected BeanDesc |
createBeanDesc(Class<?> clazz)
BeanDesc を生成します。 |
protected static ParameterizedClassDesc |
createParameterizedClassDesc(Type type)
Type を表現するParameterizedClassDesc を作成して返します。 |
BeanDesc |
getBeanDesc(Class<?> clazz)
指定されたクラスの BeanDesc を返します。 |
protected static Type[] |
getGenericParameter(Type type)
type の型引数の配列を返します。 |
protected static Class<?> |
getRawClass(Type type)
type の原型を返します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected final Map<Class<?>,BeanDesc> beanDescCache
BeanDesc
のキャッシュ。
コンストラクタの詳細 |
---|
public DefaultBeanDescProvider()
メソッドの詳細 |
---|
public BeanDesc getBeanDesc(Class<?> clazz)
BeanDesc
を返します。
BeanDescProvider
内の getBeanDesc
clazz
- 対象となるクラス
BeanDesc
protected BeanDesc createBeanDesc(Class<?> clazz)
BeanDesc
を生成します。
clazz
- 操作対象のクラス
BeanDesc
protected static ParameterizedClassDesc createParameterizedClassDesc(Type type)
Type
を表現するParameterizedClassDesc
を作成して返します。
type
- 型
ParameterizedClassDesc
protected static Class<?> getRawClass(Type type)
type
の原型を返します。
type
が原型でもパラメータ化された型でもない場合はnull
を返します。
type
- タイプ
type
の原型protected static Type[] getGenericParameter(Type type)
type
の型引数の配列を返します。
type
がパラメータ化された型でない場合はnull
を返します。
type
- タイプ
type
の型引数の配列
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |