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
<A extends ApiMetadata>
void
added(A api)
          Method to be called when an api gets added.
<A extends ApiMetadata>
void
removed(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 - The ApiMetadata.
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 - The ApiMetadata.
Parameters:
api - The api that was added.


Copyright © 2009-2013 jclouds. All Rights Reserved.