RE: [picocontainer-dev] ComponentMonitor shouldn't be Generic?
Jörg Schaible <[email protected]>
| Newsgroups | gmane.comp.java.picocontainer.devel |
|---|---|
| Message-ID | <[email protected]> |
Go for it. Generification was done on case by case basis.
Michael Rimov wrote:
> Hi All,
>
> Getting my first stabs at Pico 2 and after poking around, I was
> thinking that ComponentMonitor should not have a generic parameter
> associated with its type. [ie: ComponentMonitor {}, not
> ComponentMonitor<T> {} ]
>
> The reason? Because Component monitor receives notifications for all
> types registered with a PicoContainer, not just a single type.
> Therefore, the methods that receive notification from the callback
> gain nothing from being attached to a generic type.
>
> Any objections to reverting it to a non-generic type?
>
>
> -Mike (R)
>
>
>
>
> ---------------------------------------------------------------------
> 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