com.bstek.dorado.core
public class CommonContext extends SpringApplicationContext
| Constructor and Description |
|---|
CommonContext() |
| Modifier and Type | Method and Description |
|---|---|
static void |
dispose()
销毁当前线程中关联的上下文对象,如果存在的话。
|
protected ResourceLoader |
getResourceLoader() |
static Context |
init()
初始化一个上下文对象,并将其与当前线程关联。
|
getApplicationContext, initApplicationContext, internalCreateApplicationContextgetServiceBeangetClassLoader, getResource, getResourcesattachToThreadLocal, dettachFromThreadLocal, getAttribute, getAttribute, getCurrent, removeAttribute, removeAttribute, setAttribute, setAttribute, setFailSafeContextprotected ResourceLoader getResourceLoader()
getResourceLoader in class ContextSupportpublic static Context init() throws java.lang.Exception
java.lang.Exceptionpublic static void dispose()
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.