Interface ObjectPostProcessor<T>
- Type Parameters:
T- the bound of the types of Objects thisObjectPostProcessorsupports.
public interface ObjectPostProcessor<T>
Allows initialization of Objects. Typically this is used to call the
Aware methods, InitializingBean.afterPropertiesSet(), and
ensure that DisposableBean.destroy() has been invoked.- Author:
- Rob Winch
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ObjectPostProcessor<Object>A do nothing implementation of theObjectPostProcessor -
Method Summary
Modifier and TypeMethodDescription<O extends T>
OpostProcess(O object) Initialize the object possibly returning a modified instance that should be used instead.
-
Field Details
-
QUIESCENT_POSTPROCESSOR
A do nothing implementation of theObjectPostProcessor
-
-
Method Details
-
postProcess
Initialize the object possibly returning a modified instance that should be used instead.- Type Parameters:
O- the type of a processed object- Parameters:
object- the object to initialize- Returns:
- the initialized version of the object
-