|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectshocks.framework.meta.repository.MDBean
Encapsulates XML metadata for the workflow engine. Because the structure of the workflow.xml file is defined in XML Schema, we are able to assume a great deal of knowledge about the content and structure of the XML file. That allows us to construct "metadata beans" or MDBeans to bind the values of the XML document into memory for fast retrieval. We can also provide custom solutions for the different types of elements in our workflow descriptor to increase performance and ease of use. One of the requirements of the data contained in MDBeans is that it be provide sufficient information for looking up other MDBeans that it references. This means if an <action> points at another <action>, it needs to specify the name and the type.
Constructor Summary | |
MDBean()
|
Method Summary | |
java.lang.Object |
clone()
Returns a clone of the object identical in all regards save its location in memory. |
java.lang.Object |
getAttribute(java.lang.String key)
This returns the value of the attribute specified. |
java.lang.String |
getResult(java.lang.String resultName)
This returns the result string of an action. |
void |
setAttribute(java.lang.String key,
java.lang.Object value)
This binds the value of an attribute into memory. |
void |
setResult(java.lang.String resultName,
java.lang.String resultValue)
MDBeans which represent actions must provide a simple way to access information about that action's results. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MDBean()
Method Detail |
public java.lang.Object getAttribute(java.lang.String key)
getAttribute
in interface DataSource
key
-
public void setAttribute(java.lang.String key, java.lang.Object value)
setAttribute
in interface DataSource
key
- value
- public java.lang.Object clone()
public void setResult(java.lang.String resultName, java.lang.String resultValue)
public java.lang.String getResult(java.lang.String resultName)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |