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, internalCreateApplicationContext
getServiceBean
getClassLoader, getResource, getResources
attachToThreadLocal, dettachFromThreadLocal, getAttribute, getAttribute, getCurrent, removeAttribute, removeAttribute, setAttribute, setAttribute, setFailSafeContext
protected ResourceLoader getResourceLoader()
getResourceLoader
in class ContextSupport
public static Context init() throws java.lang.Exception
java.lang.Exception
public static void dispose()
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.