public Command[] getCommands() {
return commands;
}
public DocumentRegistryShell(String registryWsdlUrl) throws XregistryException {
super(new DocumentRegistryClient(new GlobalContext(true), registryWsdlUrl));
commands = new Command[] { new Command("app2Hosts", registryClient) {
public String[] handleCommand(ArrayList<String> args) throws XregistryException {
return ((DocumentRegistryClient) getClient()).app2Hosts(args.get(0));
}