code: protected Object[] invoke(Object[] arguments)
  	throws InvocationTargetException, IllegalAccessException {
  		Object returnValue = invoke(method, arguments);
  
  		if (! scatterOutput) {
  			logger.trace("Using return as is");
  			return new Object[] {returnValue};
  		}
  
  		if (returnValue instanceof Object[]) {
  			logger.trace("Scatter array return");
  			return (Object[]) returnValue;
  		}
  
  		if (returnValue instanceof Collection) {
  			logger.trace("Scatter collection return");
  			return ((Collection) returnValue).toArray();
  		}
  
  		logger.debug("Scatter singleton return");
  		return returnValue == null ? EMPTY_ARRAY : new Object[] {returnValue};
  	}
docs: Gets the bean invocation return entries.