|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.milyn.javabean.BeanAccessor
BeanContext to manager the beans
@Deprecated public class BeanAccessor
Bean Accessor.
This class provides support for saving and accessing Javabean instance.
| Constructor Summary | |
|---|---|
BeanAccessor(org.milyn.container.ExecutionContext executionContext)
Deprecated. Public default constructor. |
|
BeanAccessor(org.milyn.container.ExecutionContext executionContext,
Map<String,Object> resultMap)
Deprecated. Public constructor. |
|
| Method Summary | |
|---|---|
static void |
addBean(org.milyn.container.ExecutionContext executionContext,
String beanId,
Object bean)
Deprecated. Add a bean instance to the specified request under the specified beanId. |
static void |
changeBean(org.milyn.container.ExecutionContext executionContext,
String beanId,
Object bean)
Deprecated. Changes a bean object of the given beanId. |
static Object |
getBean(org.milyn.container.ExecutionContext executionContext,
String beanId)
Deprecated. Get the current bean, specified by the supplied beanId, from the supplied request. |
static Object |
getBean(String beanId,
org.milyn.container.ExecutionContext executionContext)
Deprecated. Get the current bean, specified by the supplied beanId, from the supplied request. |
static Map<String,Object> |
getBeanMap(org.milyn.container.ExecutionContext executionContext)
Deprecated. Get the bean map associated with the supplied request instance. |
static HashMap<String,Object> |
getBeans(org.milyn.container.ExecutionContext executionContext)
Deprecated. Get the bean map associated with the supplied request instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BeanAccessor(org.milyn.container.ExecutionContext executionContext)
public BeanAccessor(org.milyn.container.ExecutionContext executionContext,
Map<String,Object> resultMap)
resultMap - The result Map.| Method Detail |
|---|
public static Object getBean(String beanId,
org.milyn.container.ExecutionContext executionContext)
beanId - Bean Identifier.executionContext - The request on which the bean instance is stored.
public static Object getBean(org.milyn.container.ExecutionContext executionContext,
String beanId)
beanId - Bean Identifier.executionContext - The request on which the bean instance is stored.
public static HashMap<String,Object> getBeans(org.milyn.container.ExecutionContext executionContext)
executionContext - The execution context.
public static Map<String,Object> getBeanMap(org.milyn.container.ExecutionContext executionContext)
executionContext - The execution context.
public static void addBean(org.milyn.container.ExecutionContext executionContext,
String beanId,
Object bean)
executionContext - The execution context within which the bean is created.beanId - The beanId under which the bean is to be stored.bean - The bean instance to be stored.
public static void changeBean(org.milyn.container.ExecutionContext executionContext,
String beanId,
Object bean)
BeanLifecycle.CHANGE event are notified.
executionContext - The execution context within which the bean is created.beanId - The beanId under which the bean is to be stored.bean - The bean instance to be stored.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||