Package edu.stanford.bmir.protege.web.server.logging

Examples of edu.stanford.bmir.protege.web.server.logging.WebProtegeLogger


    }

    @Override
    public LoadProjectResult execute(final LoadProjectAction action, ExecutionContext executionContext) {
        // Load project in parallel (as we don't return it, but want it ready for further calls).
        final WebProtegeLogger webProtegeLogger = WebProtegeLoggerManager.get(LoadProjectActionHandler.class);
        long t0 = System.currentTimeMillis();
        webProtegeLogger.info("Loading project: " + action.getProjectId());
        OWLAPIProjectManager pm = OWLAPIProjectManager.getProjectManager();
        pm.getProject(action.getProjectId());
        long t1 = System.currentTimeMillis();
        webProtegeLogger.info(".... loaded project in " + (t1 - t0) + " ms");
        final ProjectId projectId = action.getProjectId();//project.getProjectId();

        final OWLAPIProjectMetadataManager manager = OWLAPIProjectMetadataManager.getManager();
        ProjectDetails projectDetails = manager.getProjectDetails(projectId);
View Full Code Here

TOP

Related Classes of edu.stanford.bmir.protege.web.server.logging.WebProtegeLogger

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.