Package org.apache.activemq.hooks
Class SpringContextHook
java.lang.Object
org.apache.activemq.hooks.SpringContextHook
- All Implemented Interfaces:
Runnable,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrun()voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Constructor Details
-
SpringContextHook
public SpringContextHook()
-
-
Method Details
-
run
public void run() -
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-