Package org.cyclos.bootstrap
Class ServiceBeanPostProcessor
- java.lang.Object
-
- org.cyclos.bootstrap.ServiceBeanPostProcessor
-
- All Implemented Interfaces:
Aware,BeanPostProcessor,ApplicationContextAware,Ordered
@Component public class ServiceBeanPostProcessor extends Object implements BeanPostProcessor, Ordered, ApplicationContextAware
Post processor forServiceimplementations (Impl and Security) to allow run a service method in a specific channel.- See Also:
RunInChannel
-
-
Field Summary
-
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
-
Constructor Summary
Constructors Constructor Description ServiceBeanPostProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetOrder()ObjectpostProcessAfterInitialization(Object bean, String beanName)ObjectpostProcessBeforeInitialization(Object bean, String beanName)voidsetApplicationContext(ApplicationContext applicationContext)
-
-
-
Method Detail
-
postProcessAfterInitialization
public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException
- Specified by:
postProcessAfterInitializationin interfaceBeanPostProcessor- Throws:
BeansException
-
postProcessBeforeInitialization
public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException
- Specified by:
postProcessBeforeInitializationin interfaceBeanPostProcessor- Throws:
BeansException
-
setApplicationContext
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
- Specified by:
setApplicationContextin interfaceApplicationContextAware- Throws:
BeansException
-
-