protected String invoke ( CommandProvider provider , CommandInterpreterWrapper interpreter ) throws Exception { Method method = provider . getClass ( ) . getMethod ( "_aggregator" , new Class [ ] { CommandInterpreter . class } ) ; //$NON-NLS-1$ method . invoke ( provider , new Object [ ] { interpreter } ) ; return interpreter . getOutput ( ) ; }
Invokes the aggregator command processor using reflection in order avoid framework dependencies on the aggregator classes .