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#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...