Re: [picocontainer-dev] Argumentative PC
Konstantin Priblouda <kpriblouda-/[email protected]>
| Newsgroups | gmane.comp.java.picocontainer.devel |
|---|---|
| Message-ID | <[email protected]> |
--- Paul Hammant <[email protected]> wrote: > Konstantin, > > for example if we would have ( we would soon ;) ) > > [System]PropertiesContainer, which would expose > > config values as objects to children. > > Nice feature - though I'm not sure that all env vars > would be good a > good idea. Well, just a container + some rudimentary scripting telling to take that property and convert to some primitive. We could have: - environment - system properties - cl and layer them way we like. There could be even automatic reloading of properties ( but this would require some restarting of chlidren - maybe a bad idea ) > Go code it then :-) on the way ;) - I got use case on may paid work (being an architect / tech guru has its advantages) > > I also play around with jboss mbeans and have > ideas of > > new kinds of adapters: > > - "pull out of jndi" > > yeah, but I think that's for nano-extras or > some-such. It might be > in J2SE, but adapting to a non IoC world should be > discouraged > right ? WebLogic's JNDI & narrowing etc was what > first pushed me > towards Avalon in 1999. I think about injecting stuff automatically already managed on jboss. In my actual use case there will be message queues / connection factories configured by separate mbeans and managed adapters between all kinds of MQ-Solutions > > > > > and behaviours: > > - "register to jmx" > > we have that already right ? Where? Gone search for it ;) > > - "bind to JNDI" > > yeesh! If we do it, it mush be out of the core. As both jmx and jndi are now in JRE it could be in core ( does not introduce any stray dependency ) Otherwise we will have 2 new nano subprojects - nano-jndi & nano-jmx with only 2-3 classes each. I think I will do this in 2.x first, and then backport to 1.x ( is new release planned? ) regards, ----[ Konstantin Pribluda http://www.pribluda.de ]---------------- JTec quality components: http://www.pribluda.de/projects/ ____________________________________________________________________________________ Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email