Basically you register an instance of ContainerNotifier with a
ResourceConfig instance using the ResourceConfig.
PROPERTY_CONTAINER_NOTIFIER property [2]
The units tests register an instance of ContainerNotifier that by
overriding ServletContainer but if you explicitly supply a
ResourceConfig implementation you do not need to do that.
On Dec 22, 2009, at 12:03 PM, Michele Mostarda wrote:
> Dear All,
>
> I'm trying to figure out how to add a new bean Resource to the
> Grizzly
>
> container programmatically.
>
> Any suggestion, code snippet?
>
> Thanks a lot.
>
> Mic
>
> --
> Michele Mostarda
> Senior Software Engineer
> mail: michele.mostarda_at_gmail.com
> skype: michele.mostarda
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: dev-help_at_jersey.dev.java.net
>