Package org.apache.log4j.config
Class PropertyGetter
- java.lang.Object
-
- org.apache.log4j.config.PropertyGetter
-
public class PropertyGetter extends java.lang.Object
Used for inferring configuration information for a log4j's component.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PropertyGetter.PropertyCallback
-
Constructor Summary
Constructors Constructor Description PropertyGetter(java.lang.Object obj)
Create a new PropertyGetter for the specified Object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
getProperties(java.lang.Object obj, PropertyGetter.PropertyCallback callback, java.lang.String prefix)
void
getProperties(PropertyGetter.PropertyCallback callback, java.lang.String prefix)
protected boolean
isHandledType(java.lang.Class type)
-
-
-
Constructor Detail
-
PropertyGetter
public PropertyGetter(java.lang.Object obj) throws java.beans.IntrospectionException
Create a new PropertyGetter for the specified Object. This is done in prepartion for invokinggetProperties(PropertyGetter.PropertyCallback, String)
one or more times.- Parameters:
obj
- the object for which to set properties- Throws:
java.beans.IntrospectionException
-
-
Method Detail
-
getProperties
public static void getProperties(java.lang.Object obj, PropertyGetter.PropertyCallback callback, java.lang.String prefix)
-
getProperties
public void getProperties(PropertyGetter.PropertyCallback callback, java.lang.String prefix)
-
isHandledType
protected boolean isHandledType(java.lang.Class type)
-
-