Class TemplateBundleActivator

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

    public class TemplateBundleActivator
    extends Object
    implements org.osgi.framework.BundleActivator
    The activator expand the sample documents in the data directory.
    Author:
    Tiry, Laurent Doguin
    • Constructor Detail

      • TemplateBundleActivator

        public TemplateBundleActivator()
    • Method Detail

      • getTemplateResourcesRootPath

        protected static String getTemplateResourcesRootPath()
      • getResource

        public URL getResource​(String path)
      • getContext

        public org.osgi.framework.BundleContext getContext()
      • start

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

        public void stop​(org.osgi.framework.BundleContext context)
        Specified by:
        stop in interface org.osgi.framework.BundleActivator
      • initDataDirPath

        protected static void initDataDirPath()
      • cleanupDataDirPath

        protected static void cleanupDataDirPath()
      • getDataDirPath

        protected static Path getDataDirPath()
      • expandResources

        public void expandResources()