public class BundleFunctionLoader extends Object implements FunctionLoader
FunctionLoader which searches for functions in the Bundle resources.| Constructor and Description |
|---|
BundleFunctionLoader(org.osgi.framework.BundleContext bundleContext)
Constructor
|
public BundleFunctionLoader(org.osgi.framework.BundleContext bundleContext)
bundleContext - public void start()
Bundle resources and registers itself in the service
registry. It adds a property to the service which advertise all the functions found in the
local resources.public void stop()
public String loadFunction(String function, OsFamily family) throws FunctionNotFoundException
Bundle resources.loadFunction in interface FunctionLoaderfunction - The function name to load.family - This operating system family of the function.FunctionNotFoundExceptionCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.