|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.figure8.join.core.setup.BootstrapUtil
public class BootstrapUtil
Helper class that provides static methods for retrieving boostrap manager and context as well as manipulating it (close(), refresh()).
| Constructor Summary | |
|---|---|
BootstrapUtil()
Creates a new instance of BootstrapUtil |
|
| Method Summary | |
|---|---|
static void |
closeContext()
Close the bootstrap context. |
static org.springframework.context.ApplicationContext |
getBootstrapContext()
Get the Spring bootstrap context for Join application. |
static BootstrapManager |
getBootstrapManager()
Get the bootstrap manager initialized by Spring container |
static void |
refreshContext()
Refresh the bootstrap context. |
static void |
setBootstrapContext(org.springframework.context.ApplicationContext context)
Set the Spring bootstrap context for Join application. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BootstrapUtil()
| Method Detail |
|---|
public static BootstrapManager getBootstrapManager()
BootstrapManager singleton instancepublic static void setBootstrapContext(org.springframework.context.ApplicationContext context)
context - Bootstrap context (provided by the bootstrap manager)public static org.springframework.context.ApplicationContext getBootstrapContext()
public static void closeContext()
public static void refreshContext()
throws BootstrapException
ContextLoader
BootstrapException - if context implementation is null or not restartable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||