[jboss-dev-forums] [JBoss OSGi Development] - Re: Extender Patter vs. LifecycleInterceptors
alesj
do-not-reply at jboss.com
Wed Oct 28 05:41:34 EDT 2009
"thomas.diesler at jboss.com" wrote : Could you pls elaborate on the use case for the adaptors?
Deployer deployer = ...;
LifecycleInterceptor interceptor = new DeployerToLifecycleInterceptorAdaptor(deployer);
LifecycleInterceptor interceptor = ...;
Deployer deployer = new LifecycleInterceptorToDeployerAdaptor(interceptor);
"thomas.diesler at jboss.com" wrote : (i.e. what benefit would these adaptors bring)
Re-use of code. ;-)
I already have a feeling you're re-inventing things a bit too much with this LI farmework,
where you should actually just have this and other adaptors in the first place.
But I trust your judgment, nevertheless adaptors should exist, in order to prove both concepts, LI and VDF, right.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262610#4262610
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262610
More information about the jboss-dev-forums
mailing list