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