Package org.apache.geronimo.system.repository

Examples of org.apache.geronimo.system.repository.FileSystemRepository


public class RepoConfigInstaller extends BaseConfigInstaller {

    public void execute() throws Exception {
        Repository sourceRepo = new InnerRepository();
        URI rootURI = targetRoot.toURI().resolve(targetRepository);
        FileSystemRepository targetRepo = new FileSystemRepository(rootURI, null);
        InstallAdapter installAdapter = new CopyConfigStore(targetRepo);
        targetRepo.doStart();

        try {
            execute(installAdapter, sourceRepo, targetRepo);
        } finally {
            targetRepo.doStop();
        }

    }
View Full Code Here


                return store.containsConfiguration(configID);
            }
        };
        Repository sourceRepo = new InnerRepository();
        URI rootURI = targetRoot.toURI().resolve(targetRepository);
        FileSystemRepository targetRepo = new FileSystemRepository(rootURI, null);
        targetRepo.doStart();

        try {
            try {
                execute(installAdapter, sourceRepo, targetRepo);
            } finally {
                store.doStop();
            }
        } finally {
            targetRepo.doStop();
        }

    }
View Full Code Here

TOP

Related Classes of org.apache.geronimo.system.repository.FileSystemRepository

Copyright © 2018 www.massapicom. 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.