public class Loader extends BaseImportLoader
Loader loads initial content from the bundle.| Modifier and Type | Class and Description |
|---|---|
protected static class |
Loader.Descriptor |
| Modifier and Type | Field and Description |
|---|---|
static String |
PARENT_DESCRIPTOR |
EXT_JAR, EXT_JCR_XML, EXT_JSON, EXT_XML, EXT_ZIP| Constructor and Description |
|---|
Loader(ContentLoaderService contentLoaderService) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
void |
registerBundle(javax.jcr.Session metadataSession,
org.osgi.framework.Bundle bundle,
boolean isUpdate)
Register a bundle and install its content.
|
void |
unregisterBundle(javax.jcr.Session session,
org.osgi.framework.Bundle bundle)
Unregister a bundle.
|
public static final String PARENT_DESCRIPTOR
public Loader(ContentLoaderService contentLoaderService)
public void dispose()
dispose in class BaseImportLoaderpublic void registerBundle(javax.jcr.Session metadataSession,
org.osgi.framework.Bundle bundle,
boolean isUpdate)
throws javax.jcr.RepositoryException
metadataSession - bundle - javax.jcr.RepositoryExceptionpublic void unregisterBundle(javax.jcr.Session session,
org.osgi.framework.Bundle bundle)
bundle - The bundle.Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.