Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sisu-users] JSR-330 and Plexus shim

On 1 May 2014, at 15:48, Benjamin Bentmann <bentmann@xxxxxxxxxxxx> wrote:

> Hi,
> 
> when using Sisu's DefaultPlexusContainer, is it possible to have plain JSR-330 components (@Named) be visible to the Plexus shim, i.e. such that @Requirement and lookup() calls work?

If those components use @Typed then you can already look them up from Plexus (providing the value in @Typed matches the role).

Otherwise this would require a feature change to consider wildcard types in Plexus, which you can request at https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Sisu&format=guided

A example test project would also be useful to verify the feature.

> Benjamin
> _______________________________________________
> sisu-users mailing list
> sisu-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/sisu-users



Back to the top