[rfe][container] xwork/ww2 support
Leo Simons <[email protected]>
| Newsgroups | gmane.comp.java.jicarilla.devel |
|---|---|
| Message-ID | <[email protected]> |
not exactly sure yet what this would entail. Support for
com.opensymphony.xwork.interceptor.component.ComponentManager
is a first of course, but that seems rather trivial, since it doesn't do
anything but support for XXXAware (like so:
resource = someClass.newInstance();
foreach( dependencies )
enablers = getEnabler( resource, dependencies )
foreach( enabler )
newResources = getDepenendency( resource, enabler )
enabler.getMethods()[0].invoke(resource, new Object[] {newResource} )
if (resource instanceof Initializable)
((Initializable)resource).init();
also, no release() is used but a dispose() on the container results in a
dispose() on all componnets that implement Disposable.
Should look into action/interception/listener/stuff support; maybe use
something from picoextras?
--
cheers,
- Leo Simons
-----------------------------------------------------------------------
Weblog -- http://leosimons.com/
IoC Component Glue -- http://jicarilla.org/
Articles & Opinions -- http://articles.leosimons.com/
-----------------------------------------------------------------------
"We started off trying to set up a small anarchist community, but
people wouldn't obey the rules."
-- Alan Bennett
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html