Hi,
I have a scenario where I have to create rest services for a
implementation class that already exists. I created a adapter that adapts an
annotated rest class to the implementation class and it worked fine, but it
would be better for me if I could provide some configuration (probably a xml
file) and programmability create the rest services based on this
configuration. Something like this:
public Class MyImplementationClass {
public int ten() {
return 10;
}
}
<service-definition>
<path>/ten</path>
<class>MyImplementationClass</class>
<method>ten</method>
</service-definition>
Can anyone help me on that?
Ats,
Osvaldo Pina.