public interface PropertyLoggingInterceptor
Interceptor interface for beans to modify property values that are written to the installer log file. If you wish to modify logged property values, you have to make your bean implement this interface. This can be necessary for security reasons, e.g. if a property value contains a variable that expands to a password.
Method Summary | |
---|---|
java.lang.Object |
getLogValueForProperty(java.lang.String propertyName,
java.lang.Object propertyValue)
Replace the value of the property for logging purposes. |
Method Detail |
---|
java.lang.Object getLogValueForProperty(java.lang.String propertyName, java.lang.Object propertyValue)
propertyName
- the name of the property that is being logged.propertyValue
- the value of the property that would be logged by default.