public abstract class AbstractEntityScanBeanPostProcessor extends Object implements BeanPostProcessor, Ordered
BeanPostProcessor
implementation that holds the packages to use for a
given component. An implementation must implement
BeanPostProcessor.postProcessBeforeInitialization(Object, String)
and update the component
responsible to manage the packages to scan.HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Modifier | Constructor and Description |
---|---|
protected |
AbstractEntityScanBeanPostProcessor(String[] packagesToScan) |
Modifier and Type | Method and Description |
---|---|
int |
getOrder() |
protected String[] |
getPackagesToScan()
Return the packages to use.
|
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
postProcessBeforeInitialization
protected AbstractEntityScanBeanPostProcessor(String[] packagesToScan)
protected String[] getPackagesToScan()
public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException
postProcessAfterInitialization
in interface BeanPostProcessor
BeansException
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.