public class

PropertyGetter

extends Object
java.lang.Object
   ↳ org.apache.log4j.config.PropertyGetter

Class Overview

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

Summary

Nested Classes
interface PropertyGetter.PropertyCallback  
Fields
protected static final Object[] NULL_ARG
protected Object obj
protected PropertyDescriptor[] props
Public Constructors
PropertyGetter(Object obj)
Create a new PropertyGetter for the specified Object.
Public Methods
void getProperties(PropertyGetter.PropertyCallback callback, String prefix)
static void getProperties(Object obj, PropertyGetter.PropertyCallback callback, String prefix)
Protected Methods
boolean isHandledType(Class type)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected static final Object[] NULL_ARG

protected Object obj

protected PropertyDescriptor[] props

Public Constructors

public PropertyGetter (Object obj)

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

Parameters
obj the object for which to set properties
Throws
IntrospectionException

Public Methods

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

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

Protected Methods

protected boolean isHandledType (Class type)