Examples of OnWave


Examples of org.jrebirth.af.core.wave.OnWave

     * @param component the wave ready
     */
    public static void manageOnWaveAnnotation(final WaveReady<?> component) {

        // Retrieve class annotation
        final OnWave clsOnWave = component.getClass().getAnnotation(OnWave.class);
        if (clsOnWave != null) {
            manageUniqueWaveTypeAction(component, clsOnWave.value(), null);
            manageMultipleWaveTypeAction(component, clsOnWave, null);
        }

        // Iterate over each annotated Method
        OnWave onWave = null;
        for (final Method method : ClassUtility.getAnnotatedMethods(component.getClass(), OnWave.class)) {
            onWave = method.getAnnotation(OnWave.class);
            manageUniqueWaveTypeAction(component, onWave.value(), method);
            manageMultipleWaveTypeAction(component, onWave, method);
        }

    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.