public String[] getWorkflowNames() throws FactoryException {
public String[] getWorkflowNames() {
    public String[] getWorkflowNames() throws FactoryException {        try {            return wf.getWorkflowNames();        } catch (RemoteException e) {            log.error("Error calling getWorkflowNames", e);            return new String[0];        }    }