org.seasar.framework.container.util
クラス BindingUtil

java.lang.Object
  拡張org.seasar.framework.container.util.BindingUtil
すべての実装インタフェース:
ContainerConstants

public final class BindingUtil
extends Object
implements ContainerConstants

コンポーネントとコンポーネントを結びつけるためのユーティリティクラスです。

作成者:
higa

フィールドの概要
 
インタフェース org.seasar.framework.container.ContainerConstants から継承したフィールド
APPLICATION_SCOPE, COMPONENT_DEF_NAME, CONFIG_NAME, CONTAINER_NAME, COOKIE, HEADER, HEADER_VALUES, INIT_PARAM, NS_SEP, NS_SEP_STR, PACKAGE_SEP, PARAM, PARAM_VALUES, REQUEST_NAME, REQUEST_SCOPE, RESPONSE_NAME, SERVLET_CONTEXT_NAME, SESSION_NAME, SESSION_SCOPE
 
メソッドの概要
static BeanDesc getBeanDesc(ComponentDef componentDef, Object component)
          BeanDescを返します。
static Class getComponentClass(ComponentDef componentDef, Object component)
          コンポーネントのクラスを返します。
static boolean isAutoBindable(Class clazz)
          自動バインディング可能かどうか返します。
static boolean isAutoBindable(Class[] classes)
          自動バインディング可能かどうか返します。
static boolean isAutoBindableArray(Class clazz)
          自動バインディング可能かどうか返します。
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

isAutoBindable

public static final boolean isAutoBindable(Class clazz)
自動バインディング可能かどうか返します。

パラメータ:
clazz -
戻り値:
自動バインディング可能かどうか

isAutoBindableArray

public static final boolean isAutoBindableArray(Class clazz)
自動バインディング可能かどうか返します。

パラメータ:
clazz -
戻り値:
自動バインディング可能かどうか

isAutoBindable

public static final boolean isAutoBindable(Class[] classes)
自動バインディング可能かどうか返します。

パラメータ:
classes -
戻り値:
自動バインディング可能かどうか
関連項目:
isAutoBindable(Class)

getBeanDesc

public static BeanDesc getBeanDesc(ComponentDef componentDef,
                                   Object component)
BeanDescを返します。

パラメータ:
componentDef -
component -
戻り値:
BeanDesc

getComponentClass

public static Class getComponentClass(ComponentDef componentDef,
                                      Object component)
コンポーネントのクラスを返します。AOPでクラスが拡張されている場合は、拡張前のクラスが返されます。

パラメータ:
componentDef -
component -
戻り値:
コンポーネントのクラス


Copyright ? 2004-2008 The Seasar Foundation. All Rights Reserved.