org.apache.camel.script.osgi
Class Activator
java.lang.Object
org.apache.camel.script.osgi.Activator
- All Implemented Interfaces:
- org.apache.camel.impl.osgi.tracker.BundleTrackerCustomizer, org.osgi.framework.BundleActivator
public class Activator
- extends Object
- implements org.osgi.framework.BundleActivator, org.apache.camel.impl.osgi.tracker.BundleTrackerCustomizer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
META_INF_SERVICES_DIR
public static final String META_INF_SERVICES_DIR
- See Also:
- Constant Field Values
SCRIPT_ENGINE_SERVICE_FILE
public static final String SCRIPT_ENGINE_SERVICE_FILE
- See Also:
- Constant Field Values
Activator
public Activator()
getBundleContext
public static org.osgi.framework.BundleContext getBundleContext()
start
public void start(org.osgi.framework.BundleContext context)
throws Exception
- Specified by:
start
in interface org.osgi.framework.BundleActivator
- Throws:
Exception
stop
public void stop(org.osgi.framework.BundleContext context)
throws Exception
- Specified by:
stop
in interface org.osgi.framework.BundleActivator
- Throws:
Exception
addingBundle
public Object addingBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent event)
- Specified by:
addingBundle
in interface org.apache.camel.impl.osgi.tracker.BundleTrackerCustomizer
modifiedBundle
public void modifiedBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent event,
Object object)
- Specified by:
modifiedBundle
in interface org.apache.camel.impl.osgi.tracker.BundleTrackerCustomizer
removedBundle
public void removedBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent event,
Object object)
- Specified by:
removedBundle
in interface org.apache.camel.impl.osgi.tracker.BundleTrackerCustomizer
resolveScriptEngine
public static ScriptEngine resolveScriptEngine(String scriptEngineName)
throws org.osgi.framework.InvalidSyntaxException
- Throws:
org.osgi.framework.InvalidSyntaxException
registerScriptEngines
protected void registerScriptEngines(org.osgi.framework.Bundle bundle,
List<Activator.BundleScriptEngineResolver> resolvers)
Apache Camel