Package org.apache.log4j.config
Class PropertyGetter
java.lang.Object
org.apache.log4j.config.PropertyGetter
Used for inferring configuration information for a log4j's component.
- Author:
- Anders Kristensen
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPropertyGetter
(Object obj) Create a new PropertyGetter for the specified Object. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
getProperties
(Object obj, PropertyGetter.PropertyCallback callback, String prefix) void
getProperties
(PropertyGetter.PropertyCallback callback, String prefix) protected boolean
isHandledType
(Class type)
-
Field Details
-
NULL_ARG
-
obj
-
props
-
-
Constructor Details
-
PropertyGetter
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:
IntrospectionException
-
-
Method Details
-
getProperties
public static void getProperties(Object obj, PropertyGetter.PropertyCallback callback, String prefix) -
getProperties
-
isHandledType
-