org.openspaces.core.space.mode.registry
Class ModeAnnotationRegistryPostProcessor
java.lang.Object
org.openspaces.core.space.mode.registry.ModeAnnotationRegistryPostProcessor
- All Implemented Interfaces:
- Aware, BeanPostProcessor, ApplicationContextAware
public class ModeAnnotationRegistryPostProcessor
- extends Object
- implements BeanPostProcessor, ApplicationContextAware
Scans the bean's methods for the annotations PreBackup
, PostBackup
, PrePrimary
and PostPrimary
and registers them in the ModeAnnotationRegistry
.
- Author:
- shaiw
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModeAnnotationRegistryPostProcessor
public ModeAnnotationRegistryPostProcessor()
postProcessAfterInitialization
public Object postProcessAfterInitialization(Object bean,
String beanName)
throws BeansException
- Specified by:
postProcessAfterInitialization
in interface BeanPostProcessor
- Throws:
BeansException
postProcessBeforeInitialization
public Object postProcessBeforeInitialization(Object bean,
String beanName)
throws BeansException
- Specified by:
postProcessBeforeInitialization
in interface BeanPostProcessor
- Throws:
BeansException
setApplicationContext
public void setApplicationContext(ApplicationContext applicationContext)
throws BeansException
- Specified by:
setApplicationContext
in interface ApplicationContextAware
- Throws:
BeansException
Copyright © GigaSpaces.