logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <ralph.go...@dslextreme.com>
Subject Re: [v2] PluginType<T> class
Date Wed, 19 Dec 2012 17:15:49 GMT
Yes, as far as the PluginManager is concerned it can be any class.  However, As the parameters
are constructed for the plugin factory methods the objects need to match the types associated
with the annotations on the parameter declarations. So, no, it should not be restricted.


On Dec 19, 2012, at 8:57 AM, Gary Gregory wrote:

> Hi All:
> Can the class in a PluginType<T> be any class? Or can it/should it be restricted
via generics like PluginType<T extends SomeType>?
> Thank you,
> Gary
> -- 
> E-Mail: garydgregory@gmail.com | ggregory@apache.org 
> JUnit in Action, 2nd Ed: http://bit.ly/ECvg0
> Spring Batch in Action: http://bit.ly/bqpbCK
> Blog: http://garygregory.wordpress.com 
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory

View raw message