org.apache.felix.dm.test.bundle.annotation.publisher
Class ResourceAdapterServiceTestWithPublisher.ResourceProvider
java.lang.Object
org.apache.felix.dm.test.bundle.annotation.publisher.ResourceAdapterServiceTestWithPublisher.ResourceProvider
- Enclosing class:
- ResourceAdapterServiceTestWithPublisher
public static class ResourceAdapterServiceTestWithPublisher.ResourceProvider
- extends Object
Method Summary |
void |
add(Map serviceProperties,
ResourceHandler handler)
Handles a new Resource consumer |
void |
destroy()
Our component is being destroyed: notify all our registered Resource consumers that we don't
provide our Resources anymore. |
void |
remove(ResourceHandler handler)
Remove a Resource consumer.bar |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceAdapterServiceTestWithPublisher.ResourceProvider
public ResourceAdapterServiceTestWithPublisher.ResourceProvider()
throws Exception
- Throws:
Exception
add
public void add(Map serviceProperties,
ResourceHandler handler)
- Handles a new Resource consumer
- Parameters:
serviceProperties
- handler
-
remove
public void remove(ResourceHandler handler)
- Remove a Resource consumer.bar
- Parameters:
handler
-
destroy
public void destroy()
- Our component is being destroyed: notify all our registered Resource consumers that we don't
provide our Resources anymore.
Copyright © 2011 Apache Software Foundation. All Rights Reserved.