@ApplicationScoped public class Jcr2VfsMigrater extends Object
Modifier and Type | Field and Description |
---|---|
protected AssetMigrater |
assetMigrater |
protected CategoryMigrater |
categoryMigrater |
protected org.drools.guvnor.server.repository.GuvnorBootstrapConfiguration |
guvnorBootstrapConfiguration |
protected static org.slf4j.Logger |
logger |
protected MigrationConfig |
migrationConfig |
protected MigrationPathManager |
migrationPathManager |
protected ModuleMigrater |
moduleMigrater |
protected org.jboss.weld.context.bound.BoundRequestContext |
requestContext |
protected Map<String,Object> |
requestDataStore |
protected org.jboss.weld.context.bound.BoundSessionContext |
sessionContext |
protected Map<String,Object> |
sessionDataStore |
Constructor and Description |
---|
Jcr2VfsMigrater() |
Modifier and Type | Method and Description |
---|---|
protected String |
determineJcrRepositoryRootDirectory()
Workaround the repository.xml and repository directory layout mess.
|
protected void |
endContexts() |
void |
migrateAll() |
boolean |
parseArgs(String[] args) |
protected void |
setupDirectories() |
protected void |
startContexts() |
protected static final org.slf4j.Logger logger
@Inject protected MigrationConfig migrationConfig
@Inject protected org.drools.guvnor.server.repository.GuvnorBootstrapConfiguration guvnorBootstrapConfiguration
@Inject protected ModuleMigrater moduleMigrater
@Inject protected MigrationPathManager migrationPathManager
@Inject protected AssetMigrater assetMigrater
@Inject protected CategoryMigrater categoryMigrater
@Inject protected org.jboss.weld.context.bound.BoundSessionContext sessionContext
@Inject protected org.jboss.weld.context.bound.BoundRequestContext requestContext
public boolean parseArgs(String[] args)
public void migrateAll()
protected void setupDirectories()
protected String determineJcrRepositoryRootDirectory()
repository.xml repository repository/repository repository/repository/datastore repository/repository/index repository/repository/... repository/version repository/version/... repository/workspaces repository/workspaces/...If repository.root.directory was specified however, the layout looks like this:
repository.xml repository repository/datastore repository/index repository/... version version/... workspaces workspaces/...
protected void startContexts()
protected void endContexts()
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.