Return macro handlers map ("handlers") to let programmers add/remove

macro handlers.
This commit is contained in:
hns 2002-10-30 17:37:57 +00:00
parent 5b51be761f
commit 3a6cffaf83
2 changed files with 12 additions and 0 deletions

View file

@ -100,6 +100,10 @@ public class ResponseBean implements Serializable {
public Map getdata () { public Map getdata () {
return res.getResponseData (); return res.getResponseData ();
} }
public Map gethandlers () {
return res.getMacroHandlers ();
}
public String geterror () { public String geterror () {
return res.error; return res.error;

View file

@ -134,6 +134,14 @@ public final class ResponseTrans implements Externalizable {
return values; return values;
} }
/**
* Get the macro handlers map for this response transmitter.
*/
public Map getMacroHandlers () {
return handlers;
}
/** /**
* Reset the response object to its initial empty state. * Reset the response object to its initial empty state.
*/ */