org.apache.sling.jcr.contentloader.internal
Class Loader
java.lang.Object
org.apache.sling.jcr.contentloader.internal.BaseImportLoader
org.apache.sling.jcr.contentloader.internal.Loader
public class Loader
- extends BaseImportLoader
The Loader loads initial content from the bundle.
|
Method Summary |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ROOT_DESCRIPTOR
public static final java.lang.String ROOT_DESCRIPTOR
- See Also:
- Constant Field Values
Loader
public Loader(ContentLoaderService contentLoaderService)
dispose
public void dispose()
- Overrides:
dispose in class BaseImportLoader
registerBundle
public void registerBundle(javax.jcr.Session metadataSession,
org.osgi.framework.Bundle bundle,
boolean isUpdate)
throws javax.jcr.RepositoryException
- Register a bundle and install its content.
- Parameters:
metadataSession - bundle -
- Throws:
javax.jcr.RepositoryException
unregisterBundle
public void unregisterBundle(javax.jcr.Session session,
org.osgi.framework.Bundle bundle)
- Unregister a bundle. Remove installed content.
- Parameters:
bundle - The bundle.
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.