*
* @return
*/
private boolean nextProvider() {
if (pIterator.hasNext()) {
ReasoningServiceInputProvider provider = pIterator.next();
if (provider.adaptTo(type)) {
// If this provider can adapt
try {
current = provider.getInput(type);
} catch (IOException e) {
// This is bad, but we can go on to the next :)
logger.error("Cannot get input from provider", e);
return nextProvider();
}