Class Activator

    • Field Detail

      • logmon

        public static final Logger logmon
      • OSGI_EXIT_PROPERTY

        public static final String OSGI_EXIT_PROPERTY
        Property defining the policy towards the OSGi container in case of an error or a server stop. If true the container exits.
        See Also:
        Constant Field Values
      • context

        public static org.osgi.framework.BundleContext context
    • Constructor Detail

      • Activator

        public Activator()
    • Method Detail

      • start

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

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

        private short getShortProperty​(String propName,
                                       short defaultValue)