T
- the bound of the types of Objects this ObjectPostProcessor
supports.public interface ObjectPostProcessor<T>
Aware
methods, InitializingBean.afterPropertiesSet()
, and
ensure that DisposableBean.destroy()
has been invoked.Modifier and Type | Field and Description |
---|---|
static ObjectPostProcessor<java.lang.Object> |
QUIESCENT_POSTPROCESSOR
A do nothing implementation of the
ObjectPostProcessor |
Modifier and Type | Method and Description |
---|---|
<O extends T> |
postProcess(O object)
Initialize the object possibly returning a modified instance that should
be used instead.
|
static final ObjectPostProcessor<java.lang.Object> QUIESCENT_POSTPROCESSOR
ObjectPostProcessor
<O extends T> O postProcess(O object)
O
- the type of a processed objectobject
- the object to initialize