public class DefaultApplicationContext extends Object implements ApplicationContext
ApplicationContext
.Constructor and Description |
---|
DefaultApplicationContext(Map<String,?> context) |
Modifier and Type | Method and Description |
---|---|
static DefaultApplicationContext |
context(Map<String,?> context) |
static DefaultApplicationContext |
context(String key,
Object value) |
<T> T |
getAttribute(Class<T> requiredType,
String contextKey)
アプリケーションインスタンスで唯一のコンテキストに
よって保持されているオブジェクトを取得します。
|
public static DefaultApplicationContext context(String key, Object value)
public static DefaultApplicationContext context(Map<String,?> context)
public <T> T getAttribute(Class<T> requiredType, String contextKey)
ApplicationContext
getAttribute
in interface ApplicationContext
requiredType
- 取得する対象のオブジェクトの型contextKey
- オブジェクトを取得する為のキーCopyright © 2014 Analog Web Framework Development Team. All Rights Reserved.