public class Init extends Init
Modifier and Type | Field and Description |
---|---|
private AdminSessionProvider |
_adminSessionProvider |
private SiteManager |
_siteManager |
private SynchronizeComponent |
_synchronizeComponent |
_repository, _resolver
Constructor and Description |
---|
Init() |
Modifier and Type | Method and Description |
---|---|
protected void |
createLiveWorkspace()
Create the live workspace.
|
protected void |
createSharedResourcesNode(ModifiableTraversableAmetysObject rootNode)
Create the JCR root node for shared resources storage if needed
|
protected void |
createSitesRootNode(ModifiableTraversableAmetysObject rootNode)
Create the JCR root node for sites storage if needed
|
void |
init()
Method to be implemented by user Init class.
|
void |
service(ServiceManager manager) |
createArchiveWorkspace, createContentsRootNode, createPluginsRootNode, createResourcesRootNode
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
private SiteManager _siteManager
private AdminSessionProvider _adminSessionProvider
private SynchronizeComponent _synchronizeComponent
public Init()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
service
in class Init
ServiceException
public void init() throws Exception
Init
protected void createLiveWorkspace() throws RepositoryException
RepositoryException
- if a repository error occurred.protected void createSitesRootNode(ModifiableTraversableAmetysObject rootNode) throws RepositoryException
rootNode
- The JCR root nodeRepositoryException
- Thrown if the node cannot be createdprotected void createSharedResourcesNode(ModifiableTraversableAmetysObject rootNode) throws RepositoryException
rootNode
- The JCR root nodeRepositoryException
- Thrown if the node cannot be created