public class ServiceFunctionLoader extends Object implements FunctionLoader
FunctionLoader implementation which delegates loading to the OSGi service registry.| Constructor and Description | 
|---|
ServiceFunctionLoader(org.osgi.framework.BundleContext bundleContext)  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
loadFunction(String function,
            OsFamily family)
Looks up the service registry for an applicable  
FunctionLoader and delegates to it. | 
public ServiceFunctionLoader(org.osgi.framework.BundleContext bundleContext)
public String loadFunction(String function, OsFamily family) throws FunctionNotFoundException
FunctionLoader and delegates to it.loadFunction in interface FunctionLoaderfunction - The function name to load.family - This operating system family of the function.StringFunctionNotFoundExceptionCopyright © 2009-2013 jclouds. All Rights Reserved.