On Nov 21, 2008, at 7:39 PM, Gili wrote:
>
> Paul,
>
> Please document IoCInstantiatedComponentProvider and
> IoCManagedComponentProvider.
It's on the TODO list.
> It's not clear when each one should be used.
IoCInstantiatedComponentProvider should be used when the IoC component
provider instantiates but Jersey manages in terms of life-cycle and
should be annotated with Jersey life-cycle annotations.
IoCManagedComponentProvider should be used when the IoC component
provider instantiates and manages, thus the life-cycle is fully
determined by the IoC framework.
Hope that helps for now,
Paul.
> I
> see the difference in scope but then I don't understand what
> IoCInstantiatedComponentProvider is used for.
>
> Thanks,
> Gili
> --
> View this message in context: http://n2.nabble.com/Simplifying-Jersey-life-cycle-and-IoC-integration-tp1367641p1562961.html
> Sent from the Jersey mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>