public class ApplicationContextAccessor extends Object implements org.springframework.context.ApplicationContextAware
| Constructor and Description |
|---|
ApplicationContextAccessor() |
ApplicationContextAccessor(org.springframework.context.ApplicationContext defaultApplicationContext) |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(String beanName) |
<T> T |
get(String beanName,
Class<T> requiredType) |
protected org.springframework.context.ApplicationContext |
getApplicationContext() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public ApplicationContextAccessor()
public ApplicationContextAccessor(org.springframework.context.ApplicationContext defaultApplicationContext)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionprotected org.springframework.context.ApplicationContext getApplicationContext()
Copyright © 2020 CrafterCMS. All rights reserved.