Search in sources :

Example 1 with UdcExtensionImpl

use of org.neo4j.ext.udc.impl.UdcExtensionImpl in project graphdb by neo4j-attic.

the class OSGiActivator method start.

/**
     * Called whenever the OSGi framework starts our bundle
     */
public void start(BundleContext bc) throws Exception {
    // register the UdcExtenionImpl
    Dictionary props = new Properties();
    // Register our example service implementation in the OSGi service registry
    bc.registerService(KernelExtension.class.getName(), new UdcExtensionImpl(), props);
}
Also used : Dictionary(java.util.Dictionary) UdcExtensionImpl(org.neo4j.ext.udc.impl.UdcExtensionImpl) Properties(java.util.Properties) KernelExtension(org.neo4j.kernel.KernelExtension)

Aggregations

Dictionary (java.util.Dictionary)1 Properties (java.util.Properties)1 UdcExtensionImpl (org.neo4j.ext.udc.impl.UdcExtensionImpl)1 KernelExtension (org.neo4j.kernel.KernelExtension)1