Re: [picocontainer-dev] Introducing JType

Paul Hammant <[email protected]> Fri, 27 Feb 2009 13:29:53 -0800
Newsgroups gmane.comp.java.picocontainer.devel
Message-ID <[email protected]>
Mark,

Nice work, and 93% coverage :)

Yes we could use this in PicoContainer.  We'd mode likely 'shade' it  
into the jar as we do with Paranamer.  Thus the packaging for it would  
become (with full acknowledgements) :

    org.picocontainer.types.*  (or similar)

You've marked a few things as TODO in respect of serialization.  We  
may/may not need that to be in place happen I think.

PicoContainer is BSD license, and yours is Apache 2.0, so they are  
compatible.

Lastly, you're not released yet.  What do you think about your  
schedule and version numbering ?

Thoughts?

Regards,

- Paul

On Feb 27, 2009, at 1:02 PM, Mark Hobson wrote:

> Hi there,
>
> I've recently open-sourced a small Java 5 type library that may be of
> use to improve PicoContainer's support for generic types.  Here's some
> of the features that you may be interested in:
>
> * It provides a Type equivalent of Class.isAssignableFrom that handles
> parameterized types.  This could be used to improve injection when a
> component demands a type such as PaymentMethod<CreditCard> when
> multiple PaymentMethod implementations are registered in the
> container.
>
> * It provides a generic type literal Generic<T> which can be used to
> achieve the same type-safe component registrations a la Guice's
> TypeLiteral<T>.
>
> * It provides a type factory Types which can be used to easily create
> implementations of the various Type subtypes.
>
> It is currently hosted here: http://code.google.com/p/jtype/
>
> Hope this is of interest and let me know if you need any more info.
>
> Cheers,
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email