| java.lang.Object org.ontoware.rdf2go.osgi.RDF2GoActivator
RDF2GoActivator | public class RDF2GoActivator implements BundleActivator,ServiceListener(Code) | | Activate the RDF2Go framework.
Listens to registered OSGI services and searches for registered
ModelFactory instances.
The found factories are compared to a configuration value, if the
configured factory is found, it is set as default. This is the configuration
value to set:
org.ontoware.rdf2go.defaultmodelfactory=(classname of modelfactory)
author: sauermann |
Method Summary | |
public void | serviceChanged(ServiceEvent event) Listen to changes in the ModelFactories. | public void | start(BundleContext context) | public void | stop(BundleContext context) |
DEFAULTMODELFACTORY_CFG | final public static String DEFAULTMODELFACTORY_CFG(Code) | | set this variable in the OSGI config to define the default driver
for RDF2Go.
|
serviceChanged | public void serviceChanged(ServiceEvent event)(Code) | | Listen to changes in the ModelFactories.
See Also: org.osgi.framework.ServiceListener.serviceChanged(org.osgi.framework.ServiceEvent) |
start | public void start(BundleContext context) throws Exception(Code) | | See Also: org.osgi.framework.BundleActivator.start(org.osgi.framework.BundleContext) |
stop | public void stop(BundleContext context) throws Exception(Code) | | See Also: org.osgi.framework.BundleActivator.stop(org.osgi.framework.BundleContext) |
|
|