|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.service.request.MetaData
public class MetaData
a container for per request meta-data.
| Constructor Summary | |
|---|---|
MetaData(ServiceRequest req)
creates a new MetaData based on the given ServiceRequest. |
|
MetaData(ServiceRequest req,
java.lang.Throwable e,
java.lang.String msg)
creates a new MetaData based on the given ServiceRequest
and Exception. |
|
| Method Summary | |
|---|---|
void |
addException(java.lang.Throwable e,
java.lang.String msg)
adds an Exception to the meta-data. |
org.jdom.Element |
deserializeToJDOM()
this will deserialize the state of the JDOMable as a JDOM
Element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MetaData(ServiceRequest req)
MetaData based on the given ServiceRequest.
req - the ServiceRequest whose meta-data is collected
public MetaData(ServiceRequest req,
java.lang.Throwable e,
java.lang.String msg)
MetaData based on the given ServiceRequest
and Exception.
req - the ServiceRequest whose meta-data is collectede - the Exceptionmsg - the exception message| Method Detail |
|---|
public final void addException(java.lang.Throwable e,
java.lang.String msg)
Exception to the meta-data.
e - the exceptionmsg - the exception messagepublic final org.jdom.Element deserializeToJDOM()
JDOMableJDOMable as a JDOM
Element.
deserializeToJDOM in interface JDOMableElement.JDOMable.deserializeToJDOM()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||