Topic
  • No replies
ArkadyZelekman
ArkadyZelekman
1 Post

Pinned topic Get instance of handler class by request path in code of Java

‏2011-11-30T14:52:23Z |
Hello,

I have following definition in my zero.config:

{
"events" : "GET",
"handler" : "com.ibm.hrl.console.widgets.Login.class",
"conditions" : "/request/path =~ /widgets/Login"
}

In know "/widgets/Login" in my internal java implementation and would like to allocate an instance of com.ibm.hrl.console.widgets.Login (by reflection...).

In the other words, I am looking a way to get "com.ibm.hrl.console.widgets.Login.class"

Does zero provide java API to do it ?

Thank you,
Arkady.