org.apache.log4j.config
クラス PropertyGetter

java.lang.Object
  |
  +--org.apache.log4j.config.PropertyGetter

public class PropertyGetter
extends Object

Used for inferring configuration information for a log4j's component.

log4j のコンポーネントに関する設定情報を推察するために使用されます。

作成者:
Anders Kristensen

内部クラスの概要
static interface PropertyGetter.PropertyCallback
           
 
フィールドの概要
protected static Object[] NULL_ARG
           
protected  Object obj
           
protected  PropertyDescriptor[] props
           
 
コンストラクタの概要
PropertyGetter(Object obj)
          Create a new PropertySetter for the specified Object.
 
メソッドの概要
static void getProperties(Object obj, PropertyGetter.PropertyCallback callback, String prefix)
           
 void getProperties(PropertyGetter.PropertyCallback callback, String prefix)
           
protected  boolean isHandledType(Class type)
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

NULL_ARG

protected static final Object[] NULL_ARG

obj

protected Object obj

props

protected PropertyDescriptor[] props
コンストラクタの詳細

PropertyGetter

public PropertyGetter(Object obj)
               throws IntrospectionException
Create a new PropertySetter for the specified Object. This is done in prepartion for invoking getProperties(PropertyGetter.PropertyCallback, String) one or more times.

指定したオブジェクトに対する新しい PropertyGetter を生成します。 この処理は、getProperties(PropertyGetter.PropertyCallback, String)の準備のために、1度または2度行われます。

パラメータ:
obj - the object for which to set properties

obj プロパティを設定するためのオブジェクト

メソッドの詳細

getProperties

public static void getProperties(Object obj,
                                 PropertyGetter.PropertyCallback callback,
                                 String prefix)

getProperties

public void getProperties(PropertyGetter.PropertyCallback callback,
                          String prefix)

isHandledType

protected boolean isHandledType(Class type)


Please notify me about new log4j releases.