|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.dm.test.bundle.annotation.resource.ResourceProvider
public class ResourceProvider
Provides some simple resources.
Constructor Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceProvider() throws Exception
Exception
Method Detail |
---|
public void add(Map serviceProperties, ResourceHandler handler)
serviceProperties
- handler
- public void remove(ResourceHandler handler)
handler
- public void destroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |