Package org.apache.syncope.core.spring
Class ApplicationContextProvider
- java.lang.Object
-
- org.apache.syncope.core.spring.ApplicationContextProvider
-
- All Implemented Interfaces:
Aware
,ApplicationContextAware
public class ApplicationContextProvider extends Object implements ApplicationContextAware
-
-
Constructor Summary
Constructors Constructor Description ApplicationContextProvider()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConfigurableApplicationContext
getApplicationContext()
static DefaultListableBeanFactory
getBeanFactory()
void
setApplicationContext(ApplicationContext ctx)
Wiring the ApplicationContext into a static method.static void
setApplicationContext(ConfigurableApplicationContext ctx)
static void
setBeanFactory(DefaultListableBeanFactory beanFactory)
-
-
-
Method Detail
-
getApplicationContext
public static ConfigurableApplicationContext getApplicationContext()
-
setApplicationContext
public static void setApplicationContext(ConfigurableApplicationContext ctx)
-
getBeanFactory
public static DefaultListableBeanFactory getBeanFactory()
-
setBeanFactory
public static void setBeanFactory(DefaultListableBeanFactory beanFactory)
-
setApplicationContext
public void setApplicationContext(ApplicationContext ctx)
Wiring the ApplicationContext into a static method.- Specified by:
setApplicationContext
in interfaceApplicationContextAware
- Parameters:
ctx
- Spring application context
-
-