Class SnappyBundleActivator

  • All Implemented Interfaces:
    org.osgi.framework.BundleActivator

    public class SnappyBundleActivator
    extends java.lang.Object
    implements org.osgi.framework.BundleActivator
    OSGi bundle entry point
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String LIBRARY_NAME
      Name of the Snappy native library
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void start​(org.osgi.framework.BundleContext context)
      Make a call to System.loadLibrary(String) to load the native library which assumes that the library is available on the path based on this Bundle's Manifest.
      void stop​(org.osgi.framework.BundleContext context)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LIBRARY_NAME

        public static final java.lang.String LIBRARY_NAME
        Name of the Snappy native library
        See Also:
        Constant Field Values
    • Constructor Detail

      • SnappyBundleActivator

        public SnappyBundleActivator()
    • Method Detail

      • start

        public void start​(org.osgi.framework.BundleContext context)
                   throws java.lang.Exception
        Make a call to System.loadLibrary(String) to load the native library which assumes that the library is available on the path based on this Bundle's Manifest.
        Specified by:
        start in interface org.osgi.framework.BundleActivator
        Throws:
        java.lang.Exception
      • stop

        public void stop​(org.osgi.framework.BundleContext context)
                  throws java.lang.Exception
        Specified by:
        stop in interface org.osgi.framework.BundleActivator
        Throws:
        java.lang.Exception