Class ApplicationContextProvider
java.lang.Object
de.hybris.platform.sap.core.test.beans.ApplicationContextProvider
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class ApplicationContextProvider
extends Object
implements org.springframework.context.ApplicationContextAware
Bean which provides the Spring application context.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.context.ApplicationContextvoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Constructor Details
-
ApplicationContextProvider
public ApplicationContextProvider()
-
-
Method Details
-
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
-
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext()- Returns:
- the applicationContext
-