-
Hi Dhanu,
No, it is not achievable in JEHA, because your key is not a valid Java property name. The properties' name must follow the naming rules for attributes.
The idea of populator is to populate general properties of a Handler. The values will be the same for all Handler instances of the class.
To solve your problem, you can create your own populator, implementing Populator...
2009-09-18 16:32:53 UTC in JEHA
-
Hi Dhanu,
I´m still working in order to improve populators. At this moment you can populate the handler in its constructor:
public class MyHandler implements Handler {
private String property;
// create the properties populator
private Populator populator = new PropertiesPopulator();
public MyHandler() {
// populate the...
2009-09-17 12:07:57 UTC in JEHA
-
Hello Dhananjay,
Actually, there are two problems. First of all, I just found a bug in JEHA on method handler choosing. I has been fixed and the new version is already available for download (1.0.1).
The second problem is that your handle method must have a "Object..." as a second parameter:
public Throwable handle(ArrayIndexOutOfBoundsException arg0, Object... arg1) {...
2009-09-08 12:35:23 UTC in JEHA
-
ad-rocha made 1 file-release changes.
2009-09-08 12:28:02 UTC in JEHA
-
ad-rocha made 2 file-release changes.
2009-09-08 12:27:01 UTC in JEHA
-
ad-rocha made 2 file-release changes.
2009-09-08 12:26:01 UTC in JEHA
-
ad-rocha made 2 file-release changes.
2009-09-08 12:25:01 UTC in JEHA
-
ad-rocha made 1 file-release changes.
2009-09-08 12:24:02 UTC in JEHA
-
ad-rocha committed patchset 4 of module jeha to the JEHA CVS repository, changing 8 files.
2009-09-08 12:05:12 UTC in JEHA
-
ad-rocha committed patchset 3 of module jeha to the JEHA CVS repository, changing 1 files.
2009-09-08 11:44:05 UTC in JEHA