org.codehaus.enunciate.modules.spring_app
Class SpringComponentPostProcessor
java.lang.Object
org.codehaus.enunciate.modules.spring_app.SpringComponentPostProcessor
- All Implemented Interfaces:
- EventListener, javax.servlet.ServletContextListener, org.codehaus.enunciate.webapp.ComponentPostProcessor
public class SpringComponentPostProcessor
- extends Object
- implements javax.servlet.ServletContextListener, org.codehaus.enunciate.webapp.ComponentPostProcessor
Component post processor for the spring application context.
- Author:
- Ryan Heaton
|
Method Summary |
static void |
autowire(Object component,
org.springframework.context.ApplicationContext applicationContext)
Autowire the specified component. |
void |
contextDestroyed(javax.servlet.ServletContextEvent event)
|
void |
contextInitialized(javax.servlet.ServletContextEvent event)
|
void |
postProcess(Object component)
Post process the specified component. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringComponentPostProcessor
public SpringComponentPostProcessor()
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent event)
- Specified by:
contextInitialized in interface javax.servlet.ServletContextListener
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent event)
- Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener
postProcess
public void postProcess(Object component)
- Post process the specified component.
- Specified by:
postProcess in interface org.codehaus.enunciate.webapp.ComponentPostProcessor
- Parameters:
component - The component.
autowire
public static void autowire(Object component,
org.springframework.context.ApplicationContext applicationContext)
- Autowire the specified component.
- Parameters:
component - the component.applicationContext - the application context to use to autowire the component.
Copyright © 2015. All rights reserved.