Package org.hawaiiframework.context
Class ApplicationContextHolder
- java.lang.Object
-
- org.hawaiiframework.context.ApplicationContextHolder
-
public final class ApplicationContextHolder extends Object
- Since:
- 2.0.0
- Author:
- Marcel Overdijk
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
bind(org.springframework.context.ApplicationContext context)
Binds theApplicationContext
to the current context class loader.static org.springframework.context.ApplicationContext
getApplicationContext()
static org.springframework.context.ApplicationContext
getRequiredApplicationContext()
static void
release()
Releases theApplicationContext
associated with the current context class loader.
-
-
-
Method Detail
-
getRequiredApplicationContext
public static org.springframework.context.ApplicationContext getRequiredApplicationContext()
-
getApplicationContext
public static org.springframework.context.ApplicationContext getApplicationContext()
-
bind
public static void bind(org.springframework.context.ApplicationContext context)
Binds theApplicationContext
to the current context class loader.- Parameters:
context
- the application context to bind
-
release
public static void release()
Releases theApplicationContext
associated with the current context class loader.
-
-