juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Girish Vasmatkar <girish.vasmat...@hotwaxsystems.com>
Subject Adding Resources Programmatically (No Annotations)
Date Mon, 01 Jun 2020 19:36:39 GMT
Hi All,

I am evaluating Juneau as one of the possible REST implementations. While I
am able to define resources using @Rest annotation, I am looking for
something that enables me to add new
resources dynamically/programmatically.

For example, the @Rest annotation defines children property that I will not
be knowing until runtime. I am trying to have an XML configuration file
containing all resources and methods details and I would like to consume
that XML at boot up time and have Juneau configure these resources

I looked at RestContextBuilder but could not find how I can use it to
register resources and methods dynamically.

Best Regards,

View raw message