Class ServiceFunctionLoader
java.lang.Object
org.jclouds.scriptbuilder.functionloader.osgi.ServiceFunctionLoader
- All Implemented Interfaces:
 FunctionLoader
A 
FunctionLoader implementation which delegates loading to the OSGi service registry.- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionloadFunction(String function, OsFamily family) Looks up the service registry for an applicableFunctionLoaderand delegates to it. 
- 
Constructor Details
- 
ServiceFunctionLoader
public ServiceFunctionLoader(org.osgi.framework.BundleContext bundleContext)  
 - 
 - 
Method Details
- 
loadFunction
Looks up the service registry for an applicableFunctionLoaderand delegates to it.- Specified by:
 loadFunctionin interfaceFunctionLoader- Parameters:
 function- The function name to load.family- This operating system family of the function.- Returns:
 - The function as 
String - Throws:
 FunctionNotFoundException
 
 -