org.springframework.jee.config
Class JeeBeanFactoryPostProcessor

java.lang.Object
  extended by org.springframework.jee.config.JeeBeanFactoryPostProcessor
All Implemented Interfaces:
org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.context.ApplicationContextAware
Direct Known Subclasses:
JeeEjbBeanFactoryPostProcessor

public class JeeBeanFactoryPostProcessor
extends java.lang.Object
implements org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.context.ApplicationContextAware

Spring BeanFactoryBeanPostProcessor to automatically apply JEE injection and interception to annotated classes deployed in a Spring context.

Author:
Rod Johnson

Constructor Summary
JeeBeanFactoryPostProcessor()
           
 
Method Summary
protected  BeanDefinitionAnnotationComponentContributor createComponentContributor(DeploymentUnitMetadata deploymentUnitMetadata)
          Hook for bean-aware, component contributor.
protected  MetadataDrivenBeanPostProcessorSupport createMetadataBeanPostProcessor()
          Hook for post processor creation.
 ServiceEnvironment getServiceEnvironment()
           
 void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 void setServiceEnvironment(ServiceEnvironment serviceEnvironment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JeeBeanFactoryPostProcessor

public JeeBeanFactoryPostProcessor()
Method Detail

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException

postProcessBeanFactory

public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
                            throws org.springframework.beans.BeansException
Specified by:
postProcessBeanFactory in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
Throws:
org.springframework.beans.BeansException

createMetadataBeanPostProcessor

protected MetadataDrivenBeanPostProcessorSupport createMetadataBeanPostProcessor()
Hook for post processor creation.

Returns:

createComponentContributor

protected BeanDefinitionAnnotationComponentContributor createComponentContributor(DeploymentUnitMetadata deploymentUnitMetadata)
Hook for bean-aware, component contributor.

Returns:

getServiceEnvironment

public ServiceEnvironment getServiceEnvironment()
Returns:
Returns the serviceEnvironment.

setServiceEnvironment

public void setServiceEnvironment(ServiceEnvironment serviceEnvironment)
Parameters:
serviceEnvironment - The serviceEnvironment to set.


Copyright 2006 Interface21. All Rights Reserved.