P
- the base type of the Pojo
s to convert (e.g. Object
or
Entity
).B
- the base type of the Bean
to convert (e.g. Bean
or EntityBean
).public abstract class AbstractBeanMapper<P,B extends Bean> extends AbstractLoggableComponent
PojoBeanMapper
or
DocumentBeanMapper
.Modifier and Type | Field and Description |
---|---|
private BeanFactory |
beanFactory |
private BeanPrototypeBuilder |
beanPrototypeBuilder |
Constructor and Description |
---|
AbstractBeanMapper()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doInitialize()
This method performs the actual
initialization . |
protected BeanFactory |
getBeanFactory() |
protected BeanPrototypeBuilder |
getBeanPrototypeBuilder() |
void |
setBeanFactory(BeanFactory beanFactory) |
void |
setBeanPrototypeBuilder(BeanPrototypeBuilder beanPrototypeBuilder) |
createLogger, getLogger
doInitialized, getInitializationState, initialize
private BeanFactory beanFactory
private BeanPrototypeBuilder beanPrototypeBuilder
protected void doInitialize()
AbstractComponent
initialization
. It is called when AbstractComponent.initialize()
is
invoked for the first time. super.
AbstractComponent.doInitialize()
.doInitialize
in class AbstractLoggableComponent
@Inject public void setBeanFactory(BeanFactory beanFactory)
beanFactory
- is the BeanFactory
to Inject
.protected BeanFactory getBeanFactory()
BeanFactory
.protected BeanPrototypeBuilder getBeanPrototypeBuilder()
BeanPrototypeBuilder
.public void setBeanPrototypeBuilder(BeanPrototypeBuilder beanPrototypeBuilder)
beanPrototypeBuilder
- is the BeanPrototypeBuilder
to set.Copyright © 2001–2016 mmm-Team. All rights reserved.