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.
 

Method Detail

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 bundle
bundle - The bundle that changes state
Throws:
LifecycleInterceptorException - if the invocation of an interceptor fails


Copyright © 2010. All Rights Reserved.