|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.seam.contexts.BusinessProcessContext
public class BusinessProcessContext
Exposes a jbpm variable context instance for reading/writing.
| Constructor Summary | |
|---|---|
BusinessProcessContext()
|
|
| Method Summary | |
|---|---|
void |
clear()
|
void |
flush()
Propagate all additions and removals to the jBPM database if there is a current process instance, or do nothing if there is no current process instance. |
Object |
get(Class clazz)
Get a component instance, by its component name, as determined by the @Name annotation value. |
Object |
get(String name)
Get a value by name. |
String[] |
getNames()
Get all names defined in the context. |
ScopeType |
getType()
Get the scope that this context object is associated with, |
boolean |
isSet(String name)
Is the value set? |
void |
remove(String name)
Unset a value. |
void |
set(String name,
Object value)
Set a value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BusinessProcessContext()
| Method Detail |
|---|
public ScopeType getType()
Context
getType in interface Contextpublic Object get(String name)
Context
get in interface Context
public void set(String name,
Object value)
Context
set in interface Contextpublic boolean isSet(String name)
Context
isSet in interface Contextpublic void remove(String name)
Context
remove in interface Contextpublic String[] getNames()
Context
getNames in interface Contextpublic Object get(Class clazz)
Context
get in interface Contextpublic void clear()
public void flush()
flush in interface Context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||