Package jetbrains.buildServer.util
Class ChildSpringContextLoader
- java.lang.Object
-
- jetbrains.buildServer.util.ChildSpringContextLoader
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware
public class ChildSpringContextLoader extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationContextAware
Utility class to load some Spring configurations as child context.- Since:
- 8.1
-
-
Constructor Summary
Constructors Constructor Description ChildSpringContextLoader(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()voiddestroy()voidsetApplicationContext(org.springframework.context.ApplicationContext context)voidsetConfigLocations(String... configLocations)
-
-
-
Constructor Detail
-
ChildSpringContextLoader
@Autowired public ChildSpringContextLoader(@NotNull String name)
-
-
Method Detail
-
setConfigLocations
public void setConfigLocations(String... configLocations)
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext context) throws org.springframework.beans.BeansException- Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
-