Log4j Version 1.2.14: Class PropertyGetter

Log4j 1.2

Log4j 1.2.14

org.apache.log4j.config Class PropertyGetter

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

public class PropertyGetter
extends Object

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

Author:
Anders Kristensen

static interface
 
protected static Object[]
protected  Object
protected  PropertyDescriptor[]
 
 
static void
 void
protected  boolean
 
 

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 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

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)

Log4j 1.2.14

Copyright 2000-2005 Apache Software Foundation.