Examples of WaveType


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

    private void sendReturnWave(final T res) throws CoreException {

        Wave returnWave = null;

        // Try to retrieve the return Wave type, could be null
        final WaveType responseWaveType = this.service.getReturnWaveType(this.wave.getWaveType());

        if (responseWaveType != null) {

            // No service result type defined into a WaveItem
            if (((WaveTypeBase) responseWaveType).getWaveItemList().isEmpty()) {
View Full Code Here

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

     * @param method the wave handler method
     */
    private static void manageUniqueWaveTypeAction(final WaveReady<?> component, final String waveActionName, final Method method) {

        // Get the WaveType from the WaveType registry
        final WaveType wt = WaveTypeBase.getWaveType(waveActionName);
        if (wt != null) {
            // Method is not defined or is the default fallback one
            if (method == null || AbstractWaveReady.PROCESS_WAVE_METHOD_NAME.equals(method.getName())) {
                // Just listen the WaveType
                component.listen(wt);
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.