code: private static void manageUniqueWaveTypeAction(final Component<?> component, final String waveActionName, final Method method) {
  
          // Get the WaveType from the WaveType registry
          final WaveType wt = WaveTypeRegistry.getWaveType(waveActionName);
          if (wt == null) {
              throw new CoreRuntimeException("WaveType '" + waveActionName + "' not found into WaveTypeRegistry.");
          } else {
              // Method is not defined or is the default fallback one
              if (method == null || AbstractComponent.PROCESS_WAVE_METHOD_NAME.equals(method.getName())) {
                  // Just listen the WaveType
                  component.listen(wt);
              } else {
                  // Listen the WaveType and specify the right method handler
                  component.listen(null, method, wt);
              }
          }
      }
docs: Manage unique {@link WaveType} subscription (from value field of {@link OnWave} annotation).
  
  @param component the wave ready
  @param waveActionName the {@link WaveType} unique name
  @param method the wave handler method