jclouds/jclouds — pull request #662 by iocanel (2012-06-05 10:43:44+00:00)
Title: Make scriptbuilder more OSGi friendly.

ScrptBuilder currently loads functions having flat classloaders in mind & it just offers a TCCL workaround.

This pull request introduce the FunctionLoader interface, which is used by scriptbuilder to load function.
Also contains to 2 implementations the basic function loader and the bundle function loader (for use inside OSGi).

By default the basic function loader is used. Inside OSGi environments the bundle function loader is used via the OSGi service registry.