public class BundleContentLoader extends BaseImportLoader
BundleContentLoader loads initial content from the bundle.| Modifier and Type | Class and Description |
|---|---|
protected static class |
BundleContentLoader.Descriptor |
| Modifier and Type | Field and Description |
|---|---|
static String |
PARENT_DESCRIPTOR |
EXT_JCR_XML| Constructor and Description |
|---|
BundleContentLoader(BundleHelper bundleHelper,
ContentReaderWhiteboard contentReaderWhiteboard) |
| 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.
|
bindContentReaderWhiteboard, getContentReader, getContentReader, getContentReaderExtension, getContentReaders, toPlainName, unbindContentReaderWhiteboardimportJcrXmlpublic static final String PARENT_DESCRIPTOR
public BundleContentLoader(BundleHelper bundleHelper, ContentReaderWhiteboard contentReaderWhiteboard)
public void dispose()
public 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–2017 The Apache Software Foundation. All rights reserved.