Package org.jclouds.osgi
Interface ApiListener
public interface ApiListener
A listener interface for
ApiMetadata. In OSGi a api can be added or removed dynamically.
OSGi services using this interface will receive a notification whenever this happens.-
Method Summary
Modifier and TypeMethodDescription<A extends ApiMetadata>
voidadded(A api) Method to be called when an api gets added.<A extends ApiMetadata>
voidremoved(A api) Method to be called when an api gets removed.
-
Method Details
-
added
Method to be called when an api gets added.- Type Parameters:
A- TheApiMetadata.- Parameters:
api- The api that was added.
-
removed
Method to be called when an api gets removed.- Type Parameters:
A- TheApiMetadata.- Parameters:
api- The api that was added.
-