Package org.jclouds.osgi
Interface ApiListener
-
public interface ApiListener
A listener interface forApiMetadata
. In OSGi a api 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 <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 Detail
-
added
<A extends ApiMetadata> void added(A api)
Method to be called when an api gets added.- Type Parameters:
A
- TheApiMetadata
.- Parameters:
api
- The api that was added.
-
removed
<A extends ApiMetadata> void removed(A api)
Method to be called when an api gets removed.- Type Parameters:
A
- TheApiMetadata
.- Parameters:
api
- The api that was added.
-
-