public class ApplicationContextHolder extends Object implements org.springframework.context.ApplicationContextAware
Constructor and Description |
---|
ApplicationContextHolder() |
Modifier and Type | Method and Description |
---|---|
static org.springframework.context.ApplicationContext |
getContext()
Access to spring wired beans.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
Spring supplied interface method for injecting app context.
|
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public static org.springframework.context.ApplicationContext getContext()
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.