Package org.nuxeo.ecm.core.storage.sql
Class Activator
java.lang.Object
org.nuxeo.ecm.core.storage.sql.Activator
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
Needed to lookup local bundle resources - which should use Bundle API.
- Author:
- Bogdan Stefanescu
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.osgi.framework.BundleContext
static Activator
static URL
getResource
(String path) static InputStream
getResourceAsStream
(String path) void
start
(org.osgi.framework.BundleContext context) void
stop
(org.osgi.framework.BundleContext context)
-
Constructor Details
-
Activator
public Activator()
-
-
Method Details
-
getResource
-
getResourceAsStream
- Throws:
IOException
-
getInstance
-
getContext
public org.osgi.framework.BundleContext getContext() -
start
public void start(org.osgi.framework.BundleContext context) - Specified by:
start
in interfaceorg.osgi.framework.BundleActivator
-
stop
public void stop(org.osgi.framework.BundleContext context) - Specified by:
stop
in interfaceorg.osgi.framework.BundleActivator
-