osgi - Does Apache Felix FileInstall works for dynamic configuration of an application? -
i trying develop application can configured users. need configuration done installing/updating/stopping/uninstalling bundles. should of course done dynamically during run-time of application.
i found nice framework apache felix fileinstall provides directory in seems add bundle when add bundle file in directory (update, , remove bundles similarly).
but can see method not work in case. need have bundles in directory stop or uninstall them application. , want install them when appropriate. how expecting configuration of application done.
is trying achieve supported apache fileinstall? making wrong assumptions framework? other possible ways me if apache fileinstall not enough? thanks.
you don't need fileinstall this, use osgi apis. mentioned installing, updating, stopping , uninstalling; these supported following api calls respectively:
bundlecontext.installbundle
bundle.update
bundle.stop
bundle.uninstall
incidentally these same methods called fileinstall implements directory-based bundle management.
Comments
Post a Comment