[jboss-dev-forums] [JBoss OSGi Development] - Re: Extender Patter vs. LifecycleInterceptors
thomas.diesler@jboss.com
do-not-reply at jboss.com
Wed Oct 28 04:24:42 EDT 2009
Any MC bean can be a LifecycleInterceptor. It simply needs to implement that interface. The LifecycleInterceptorService plugin picks those up at bean install time.
| <bean name="LifecycleInterceptorService" class="org.jboss.osgi.framework.service.internal.LifecycleInterceptorServiceImpl">
| <constructor><parameter><inject bean="OSGiBundleManager" /></parameter></constructor>
|
| In any case (MCBean or registered programatically), the attachment handling is delegated to the DeploymentUnit.
| <incallback method="addInterceptor" />
| <uncallback method="removeInterceptor" />
| </bean>
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262591#4262591
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262591
More information about the jboss-dev-forums
mailing list