Package org.wso2.carbon.deployment.synchronizer

Examples of org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizer.checkout()


    public void checkout() throws SynchronizationException {
        String filePath = CarbonRepositoryUtils.getCarbonRepositoryFilePath(getConfigContext());
        DeploymentSynchronizer synchronizer = DeploymentSynchronizationManager.getInstance().
                getSynchronizer(filePath);
        synchronizer.checkout();
    }

    public void commit() throws SynchronizationException {
        String filePath = CarbonRepositoryUtils.getCarbonRepositoryFilePath(getConfigContext());
        DeploymentSynchronizer synchronizer = DeploymentSynchronizationManager.getInstance().
View Full Code Here


    }

    public void checkout(String filePath) throws DeploymentSynchronizerException {
        DeploymentSynchronizer synchronizer = getSynchronizer(filePath);
        try {
            synchronizer.checkout();
        } catch (SynchronizationException e) {
            throw new DeploymentSynchronizerException("Error while invoking checkout on the " +
                    "repository at: " + filePath, e);
        }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.