|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.xoetrope.optional.service.ServiceContext
public class ServiceContext
Context object to be passed through routes as a way to pass and return parameters. Errors are also stored and should be checked by each ServiceProxy in the services route.
| Constructor Summary | |
|---|---|
ServiceContext()
Creates a new instance of ServiceContext |
|
| Method Summary | |
|---|---|
void |
addError(java.lang.String error)
Adds an error to the errors Vector in the ServiceProxyArgs instance |
ServiceProxyArgs |
getArgs()
Retrieve the ServiceProxyArgs for this instance |
java.util.Vector |
getErrors()
Retrieve the errors Vector |
java.util.Hashtable |
getPassArgs()
Retrieve the pass arguments Hashtable |
java.util.Hashtable |
getReturnArgs()
Retrieve the return arguments Hashtable |
boolean |
hasErrors()
If the errors hashtable has any entries then an error has been generated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceContext()
| Method Detail |
|---|
public ServiceProxyArgs getArgs()
public java.util.Hashtable getPassArgs()
public java.util.Hashtable getReturnArgs()
public java.util.Vector getErrors()
public boolean hasErrors()
public void addError(java.lang.String error)
error - The error to be added
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||