Package org.xerial.snappy
Class SnappyBundleActivator
java.lang.Object
org.xerial.snappy.SnappyBundleActivator
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
OSGi bundle entry point
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
start
(org.osgi.framework.BundleContext context) Make a call toSystem.loadLibrary(String)
to load the native library which assumes that the library is available on the path based on thisBundle
'sManifest
.void
stop
(org.osgi.framework.BundleContext context)
-
Field Details
-
LIBRARY_NAME
Name of the Snappy native library- See Also:
-
-
Constructor Details
-
SnappyBundleActivator
public SnappyBundleActivator()
-
-
Method Details
-
start
Make a call toSystem.loadLibrary(String)
to load the native library which assumes that the library is available on the path based on thisBundle
'sManifest
.- Specified by:
start
in interfaceorg.osgi.framework.BundleActivator
- Throws:
Exception
-
stop
- Specified by:
stop
in interfaceorg.osgi.framework.BundleActivator
- Throws:
Exception
-