org.springframework.osgi.context.support
Class BundleContextAwareProcessor

java.lang.Object
  extended by org.springframework.osgi.context.support.BundleContextAwareProcessor
All Implemented Interfaces:
BeanPostProcessor

public class BundleContextAwareProcessor
extends Object
implements BeanPostProcessor

BeanPostProcessor handling classes that implement BundleContextAware interface.

Author:
Adrian Colyer, Costin Leau

Constructor Summary
BundleContextAwareProcessor(BundleContext aContext)
           
 
Method Summary
 Object postProcessAfterInitialization(Object bean, String beanName)
           
 Object postProcessBeforeInitialization(Object bean, String beanName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundleContextAwareProcessor

public BundleContextAwareProcessor(BundleContext aContext)
Method Detail

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-2009 Spring Framework. All Rights Reserved.