1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | private String taskName = "task.xml" ; //Info engine task to be executed. private IeCollection invokeQueryTask( String taskName, String className) throws WTException, IEException, IOException { IeCollection iecollection = new IeCollection(); Task task = new Task(); task.setTaskURI(taskName); task.addParam( "className" , className); //Invoke a task task.invoke(); iecollection = task.getVDB(); //return the task results as info engine collection return iecollection; } |