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 |
contentReaderWhiteboard, EXT_JCR_XML| Constructor and Description |
|---|
BundleContentLoader(BundleHelper bundleHelper,
ContentReaderWhiteboard contentReaderWhiteboard,
BundleContentLoaderConfiguration configuration) |
| 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.
|
getContentReader, getContentReader, getContentReaderExtension, getContentReaders, toPlainNameimportJcrXmlpublic static final String PARENT_DESCRIPTOR
public BundleContentLoader(BundleHelper bundleHelper, ContentReaderWhiteboard contentReaderWhiteboard, BundleContentLoaderConfiguration configuration)
public void dispose()
public void registerBundle(javax.jcr.Session metadataSession,
org.osgi.framework.Bundle bundle,
boolean isUpdate)
metadataSession - the JCR Session for reading/writing metadatbundle - the bundle to installpublic void unregisterBundle(javax.jcr.Session session,
org.osgi.framework.Bundle bundle)
session - the session to read/write the metadatabundle - The bundle.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.