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) |
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, toPlainName
importJcrXml
public 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.RepositoryException
public void unregisterBundle(javax.jcr.Session session, org.osgi.framework.Bundle bundle)
bundle
- The bundle.Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.