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

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

View file

@ -134,6 +134,14 @@ public final class ResponseTrans implements Externalizable {
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.
*/