Class ./resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/metadata/ResourceBuilder.java
does this already
see testcase
./testsuite/unit-tests/src/test/java/org/jboss/resteasy/test/resource/ProgammaticTest.java
----- Original Message -----
From: "Alessio Soldano" <asoldano(a)redhat.com>
To: resteasy-dev(a)lists.jboss.org
Sent: Monday, August 28, 2017 5:33:01 AM
Subject: [resteasy-dev] Fwd: Programmatic resource configuration
Forwarding to the list, I erroneously answered Ron only.
---------- Forwarded message ----------
From: Alessio Soldano < asoldano(a)redhat.com >
Date: Mon, Aug 28, 2017 at 9:49 AM
Subject: Re: [resteasy-dev] Programmatic resource configuration
To: Ron Sigal < rsigal(a)redhat.com >
On Sat, Aug 26, 2017 at 11:36 PM, Ron Sigal < rsigal(a)redhat.com > wrote:
I don't remember any such thing, but that's not especially probative.
It sounds like a nice feature to advertise for Resteasy 4.0. Do you think
there's much of a demand, beyond the one person?
Well, difficult to say, but I also think this would be a very nice feature.
I've created a JIRA anyway :-)
https://issues.jboss.org/browse/RESTEASY-1707
Cheers
Alessio
I see that I was pretty busy in 2012. ;-)
On 08/17/2017 04:56 AM, Alessio Soldano wrote:
Hi,
yesterday I've been contacted by a colleague asking for a way to
programmatically setup a JAX-RS resource in RESTEasy. By googling a bit, I
found [1], which seems to basically document the last two commits at [2].
That code is now 5+ yrs old, does anybody remember if a PR for adding such
feature was ever opened / evaluated?
Cheers
Alessio
[1]
https://gist.github.com/danbev/3938238
[2]
https://github.com/danbev/Resteasy/commits/programmatic-config
_______________________________________________
resteasy-dev mailing list resteasy-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/resteasy-dev
--
My company's smarter than your company (unless you work for Red Hat)
_______________________________________________
resteasy-dev mailing list
resteasy-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/resteasy-dev
_______________________________________________
resteasy-dev mailing list
resteasy-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/resteasy-dev