org.apache.felix.dm.test.bundle.annotation.publisher
Class ResourceAdapterServiceTestWithPublisher.ResourceProvider

java.lang.Object
  extended by org.apache.felix.dm.test.bundle.annotation.publisher.ResourceAdapterServiceTestWithPublisher.ResourceProvider
Enclosing class:
ResourceAdapterServiceTestWithPublisher

public static class ResourceAdapterServiceTestWithPublisher.ResourceProvider
extends Object


Constructor Summary
ResourceAdapterServiceTestWithPublisher.ResourceProvider()
           
 
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
 

Constructor Detail

ResourceAdapterServiceTestWithPublisher.ResourceProvider

public ResourceAdapterServiceTestWithPublisher.ResourceProvider()
                                                         throws Exception
Throws:
Exception
Method Detail

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 © 2013 The Apache Software Foundation. All Rights Reserved.