Package xbird.client.command

Examples of xbird.client.command.CommandInvoker


        String[] cmdArg = command.getArgs();
        String baseCol = command.getBaseCollection();

        DbCollection contextCol = DbCollection.getCollection(baseCol);
        Session session = new Session(contextCol);
        CommandInvoker invoker = new CommandInvoker(session);

        _runningThreads.put(rc, Thread.currentThread());
        try {
            boolean status = invoker.executeCommand(cmdArg);
            rc.setResult(status);
        } catch (CommandException ce) {
            LOG.error("command failed: " + Arrays.toString(cmdArg), ce);
            rc.setFault(ce);
        } finally {
View Full Code Here

TOP

Related Classes of xbird.client.command.CommandInvoker

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.