Class ApplicationContextAccess
java.lang.Object
com.sap.cloud.spring.boot.mt.config.ApplicationContextAccess
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
@ConditionalOnProperty(name="com.sap.mt.enabled",
matchIfMissing=true)
@Configuration("ComSapMtApplicationContextAccess")
public class ApplicationContextAccess
extends Object
implements org.springframework.context.ApplicationContextAware
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TvoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Constructor Details
-
ApplicationContextAccess
public ApplicationContextAccess()
-
-
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
-
getBean
-