Aaron Anderson wrote:
> Is the intent for the DynamicResourceConfig to truly be dynamic and have
> the ability at runtime to add or remove resource classes to and from it
> or is it designed for resource discovery at initialization only?
The latter, so perhaps the naming is not appropriate. What would you
prefer ?
> This
> question is related to my previous inquires on dynamically modifying the
> resource classes associated with a WebApplication.
>
A ResourceConfig is a separate thing from a WebApplication and you may
want to dynamically add a new resource independently of the resource
config implementation. So i think it best to keep the things separate
and have methods exposed on WebApplication directly.
Do you require removal as well as addition of a resource class?
Paul.
> Thanks!
>
> Aaron
>
> */Paul Sandoz <Paul.Sandoz_at_Sun.COM>/* wrote:
>
> Frank Martínez wrote:
> > Hi All,
> >
> > On 11/2/07, Paul Sandoz wrote:
> >> Paul Sandoz wrote:
> >>
> >>> May i recommend that we change the name of ASMResourceConfig to
> >>> something like DynamicResourceConfig (ASM is an implementation
> detail)
> >>> and move it to the same package as ResourceConfig?
> >>>
> >> After we have discussed and acted on the above i think this
> branch can
> >> be merged with the trunk.
> >>
> >> Paul.
> >>
> >
> > Ok. Please just tell me the correct class names and packages and i
> > will refactor it.
> >
>
> I propose:
>
> com.sun.ws.rest.api.core.DynamicResourceConfig
>
> Paul.
>
> --
> | ? + ? = To question
> ----------------\
> Paul Sandoz
> x38109
> +33-4-76188109
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: dev-help_at_jersey.dev.java.net
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
--
| ? + ? = To question
----------------\
Paul Sandoz
x38109
+33-4-76188109