public interface ProviderListener
ProviderMetadata
. In OSGi a provider can be added or removed dynamically. OSGi
services using this interface will receive a notification whenever this happens.Modifier and Type | Method and Description |
---|---|
<P extends ProviderMetadata> |
added(P provider)
Method to be called when a Provider gets added.
|
<P extends ProviderMetadata> |
removed(P provider)
Method to be called when a Provider gets removed.
|
<P extends ProviderMetadata> void added(P provider)
P
- The ProviderMetadata
.provider
- The provider that was added.<P extends ProviderMetadata> void removed(P provider)
P
- The ProviderMetadata
.provider
- The provider that was added.Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.