Package org.apache.geronimo.gshell.wisdom.command

Examples of org.apache.geronimo.gshell.wisdom.command.LinkCommand


                }
            }
            if (links != null) {
                for (Link link : links) {
                    log.debug("Registering link: {}", link.getName());
                    LinkCommand cmd = new LinkCommand(commandRegistry, link.getTarget());
                    cmd.setLocation(new CommandLocationImpl(link.getName()));
                    commandRegistry.registerCommand(cmd);
                }
            }
            if (aliases != null) {
                for (Alias alias : aliases) {
View Full Code Here


    public void unregister(final Command command, Map<String, ?> properties) throws Exception {
        commandRegistry.removeCommand(command);
    }

    public void register(final Link link, Map<String, ?> properties) throws Exception {
        LinkCommand cmd = new LinkCommand(commandRegistry, link.getTarget());
        cmd.setLocation(new CommandLocationImpl(link.getName()));
        commandRegistry.registerCommand(cmd);
    }
View Full Code Here

TOP

Related Classes of org.apache.geronimo.gshell.wisdom.command.LinkCommand

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.