Package org.nuxeo.template.deckjs
Class TemplateBundleActivator
java.lang.Object
org.nuxeo.template.deckjs.TemplateBundleActivator
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
The activator expand the sample documents in the data directory.
- Author:
- Tiry, Laurent Doguin
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static void
void
Enumeration<?>
findEntries
(String path) org.osgi.framework.BundleContext
protected static Path
getResource
(String path) static InputStream
getResourceAsStream
(String path) protected static String
protected static void
void
start
(org.osgi.framework.BundleContext context) void
stop
(org.osgi.framework.BundleContext context)
-
Field Details
-
instance
-
-
Constructor Details
-
TemplateBundleActivator
public TemplateBundleActivator()
-
-
Method Details
-
getTemplateResourcesRootPath
-
getResource
-
findEntries
-
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
-
initDataDirPath
protected static void initDataDirPath() -
cleanupDataDirPath
protected static void cleanupDataDirPath() -
getDataDirPath
-
expandResources
public void expandResources() -
getResourceAsStream
- Throws:
IOException
-