Examples of AccessingRegistryAction


Examples of org.wso2.carbon.db.keep.alive.actions.AccessingRegistryAction

    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        log.debug("-------------Running the db keep alive job------------------");
        RegistryService registryService = Util.getRegistryService();
        try {
            new AccessingRegistryAction(registryService.getLocalRepository()).execute();
            new AccessingRegistryAction(registryService.getConfigSystemRegistry()).execute();
            new AccessingRegistryAction(registryService.getGovernanceSystemRegistry()).execute();
        } catch (Exception e) {
            String msg = "Error in running registry actions.";
            log.error(msg, e);
            throw new JobExecutionException(msg, 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.