| org.compass.spring.support.CompassContextBeanPostProcessor
CompassContextBeanPostProcessor | public class CompassContextBeanPostProcessor extends InstantiationAwareBeanPostProcessorAdapter implements ApplicationContextAware(Code) | | BeanPostProcessor that processes
org.compass.core.CompassContext annotation for injection of Compass interfaces. Any such annotated fields
or methods in any Spring-managed object will automatically be injected.
Will inject either a
Compass or
CompassSession instances.
author: kimchy |
Field Summary | |
final protected Log | logger |
logger | final protected Log logger(Code) | | |
findEntityManagerFactoryByName | protected Compass findEntityManagerFactoryByName(String compassName) throws NoSuchBeanDefinitionException(Code) | | Find a Compass with the given name in the current
application context
Parameters: compassName - name of the EntityManagerFactory the EntityManagerFactory or throw NoSuchBeanDefinitionException throws: NoSuchBeanDefinitionException - if there is no such EntityManagerFactoryin the context |
postProcessAfterInstantiation | public boolean postProcessAfterInstantiation(Object bean, String beanName) throws BeansException(Code) | | |
setApplicationContext | public void setApplicationContext(ApplicationContext applicationContext)(Code) | | |
|
|