@Component(value="blApplicationContextHolder") public class ApplicationContextHolder extends Object implements org.springframework.context.ApplicationContextAware
Modifier and Type | Field and Description |
---|---|
protected static org.springframework.context.ApplicationContext |
context |
Constructor and Description |
---|
ApplicationContextHolder() |
Modifier and Type | Method and Description |
---|---|
static org.springframework.context.ApplicationContext |
getApplicationContext() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public static org.springframework.context.ApplicationContext getApplicationContext()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
Copyright © 2022. All rights reserved.