org.jboss.osgi.deployment.interceptor
Interface LifecycleInterceptorService
- All Known Implementing Classes:
- AbstractLifecycleInterceptorService
public interface LifecycleInterceptorService
A service that invokes lifecycle interceptors.
This service tracks LifecycleInterceptor
services and orders them
to an interceptor chain according to their input/output requirements and relative order.
- Since:
- 15-Oct-2009
- Author:
- thomas.diesler@jboss.com
Method Summary |
void |
handleStateChange(int state,
Bundle bundle)
Invoke the registered set of interceptors for the given bundle state change. |
handleStateChange
void handleStateChange(int state,
Bundle bundle)
- Invoke the registered set of interceptors for the given bundle state change.
- Parameters:
state
- The future state of the bundlebundle
- The bundle that changes state
- Throws:
LifecycleInterceptorException
- if the invocation of an interceptor fails
Copyright © 2011. All Rights Reserved.