Package org.jclouds.osgi
Interface ProviderListener
-
public interface ProviderListener
A listener interface forProviderMetadata
. In OSGi a provider can be added or removed dynamically. OSGi services using this interface will receive a notification whenever this happens.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <P extends ProviderMetadata>
voidadded(P provider)
Method to be called when a Provider gets added.<P extends ProviderMetadata>
voidremoved(P provider)
Method to be called when a Provider gets removed.
-
-
-
Method Detail
-
added
<P extends ProviderMetadata> void added(P provider)
Method to be called when a Provider gets added.- Type Parameters:
P
- TheProviderMetadata
.- Parameters:
provider
- The provider that was added.
-
removed
<P extends ProviderMetadata> void removed(P provider)
Method to be called when a Provider gets removed.- Type Parameters:
P
- TheProviderMetadata
.- Parameters:
provider
- The provider that was added.
-
-