|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
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 内の getBeanDescclazz - 対象となるクラス
BeanDescprotected BeanDesc createBeanDesc(Class<?> clazz)
BeanDesc を生成します。
clazz - 操作対象のクラス
BeanDescprotected static ParameterizedClassDesc createParameterizedClassDesc(Type type)
Typeを表現するParameterizedClassDescを作成して返します。
type - 型
ParameterizedClassDescprotected static Class<?> getRawClass(Type type)
typeの原型を返します。
typeが原型でもパラメータ化された型でもない場合はnullを返します。
type - タイプ
typeの原型protected static Type[] getGenericParameter(Type type)
typeの型引数の配列を返します。
typeがパラメータ化された型でない場合はnullを返します。
type - タイプ
typeの型引数の配列
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||