public class TemplateBundleActivator extends Object implements org.osgi.framework.BundleActivator
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
TemplateBundleActivator() |
Modifier and Type | Method and Description |
---|---|
protected static void |
cleanupDataDirPath() |
void |
expandResources() |
Enumeration<?> |
findEntries(String path) |
org.osgi.framework.BundleContext |
getContext() |
protected static Path |
getDataDirPath() |
URL |
getResource(String path) |
protected static String |
getTemplateResourcesRootPath() |
protected static void |
initDataDirPath() |
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
protected static final org.apache.commons.logging.Log log
public TemplateBundleActivator()
protected static String getTemplateResourcesRootPath()
public URL getResource(String path)
public Enumeration<?> findEntries(String path)
public org.osgi.framework.BundleContext getContext()
public void start(org.osgi.framework.BundleContext context)
start
in interface org.osgi.framework.BundleActivator
public void stop(org.osgi.framework.BundleContext context)
stop
in interface org.osgi.framework.BundleActivator
protected static void initDataDirPath()
protected static void cleanupDataDirPath()
protected static Path getDataDirPath()
public void expandResources()
Copyright © 2018 Nuxeo. All rights reserved.