[picocontainer-dev] Gems Behaviors and further on down....

"Michael Rimov" <[email protected]> Sat, 21 Jun 2008 13:51:48 -0700
Newsgroups gmane.comp.java.picocontainer.devel
Organization Centerline Computers, Inc
Message-ID <008401c8d3e0$a1b1d3a0$e5157ae0$@com>
Is it my imagination or is there currently no way to dynamically turn on Gems
behaviors: ie

MutablePicoContainer mpc = new PicoBuilder().build();
mpc.as(HOT_SWAP).addComponent(HotSwap.class, SomethingElse.class);
mpc.as(POOLED).addComponent(DatabasePool.class, JDBCPool.class);
mpc.as(CACHED,DELEGATE_METHOD).addComponent(...);

??

I just don't see the equivalent of org.picocontainer.Characteristics inside Gems
(or anywhere else, actually)..  

I found a JMX characteristic, but a workspace-wide search didn't seem to have it
used anywhere and none of the gems-behavior tests show integration with Pico.

Sorry, I just haven't had a chance to seriously play with as() up to this point.

						-Mike




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

    http://xircles.codehaus.org/manage_email