A component instance may have an activate method. If a component instance has a suitable and accessible activate method, this method will be called when a component configuration is activated. If the activate method takes a {@code ComponentContext} argument, it will be passed the component instance'sComponent Context object. If the activate method takes a {@code BundleContext} argument, it will be passed the component instance'sBundle Context object. If the activate method takes a {@code Map} argument,it will be passed an unmodifiable Map containing the component properties.
A component instance may have a deactivate method. If a component instance has a suitable and accessible deactivate method, this method will be called when the component configuration is deactivated. If the deactivate method takes a {@code ComponentContext} argument, it will be passed the componentinstance's Component Context object. If the deactivate method takes a {@code BundleContext} argument, it will be passed the component instance'sBundle Context object. If the deactivate method takes a {@code Map} argument,it will be passed an unmodifiable Map containing the component properties. If the deactivate method takes an {@code int} or {@code Integer} argument, itwill be passed the reason code for the component instance's deactivation. @ThreadSafe @noimplement @author $Id: 4f87f06a8d2bcbda855799d0323582eb6164f99b $
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|