org.springframework.osgi.context.support
Class BundleContextAwareProcessor
java.lang.Object
org.springframework.osgi.context.support.BundleContextAwareProcessor
- All Implemented Interfaces:
- BeanPostProcessor
public class BundleContextAwareProcessor
- extends Object
- implements BeanPostProcessor
For internal use only. Used by OsgiBundleXmlApplicationContext to inject
beans implementing BundleContextAware with a reference to the current
BundleContext.
- Since:
- 2.0
- Author:
- Adrian Colyer, Costin Leau
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final Log logger
BundleContextAwareProcessor
public BundleContextAwareProcessor(BundleContext aContext)
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
Copyright © 2006-2007 Spring Framework. All Rights Reserved.