Hi all,
I've developed a ds component factory that create instances of my
component on demand, my component
provide a service according to a particulare java interface
But in my requirements i need both "create" and "remove component
instances" depending for example by
adding ( creating components/services ) or removing ( removing the
related components/services ) files
from a specified folder.
I've just achieved the creating use case writing a component that
mantains the reference to the component factories and
provide to create my components on demand....
What i need now is to have a way to undeploy some of this when "the
related deployment" file is removed
by the deployment folder.
Which is the best way to do that???? I know services are automatically
unregistered when the bundle that create that service stop,
but in my case i'm using ds and a component factory so it's not clear
wich is the right way to proceed.
Thank you for your help...
Andrea
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev