If the context bundle's list of listeners already contains a listener {@code l} such that {@code (l==listener)}, this method does nothing. @param listener The {@code BundleListener} to be added. @throws IllegalStateException If this BundleContext is no longer valid. @throws SecurityException If listener is a{@code SynchronousBundleListener} and the caller does not havethe appropriate {@code AdminPermission[context bundle,LISTENER]}, and the Java Runtime Environment supports permissions. @see BundleEvent @see BundleListener
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|