|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.scriptbuilder.functionloader.osgi.BundleFunctionLoader
public class BundleFunctionLoader
A FunctionLoader which searches for functions in the Bundle resources.
| Constructor Summary | |
|---|---|
BundleFunctionLoader(org.osgi.framework.BundleContext bundleContext)
Constructor |
|
| Method Summary | |
|---|---|
String |
loadFunction(String function,
OsFamily family)
Loads the function from the Bundle resources. |
void |
start()
Starts the loader. |
void |
stop()
Unregisters itself from the service registry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BundleFunctionLoader(org.osgi.framework.BundleContext bundleContext)
bundleContext - | Method Detail |
|---|
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.
FunctionNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||