Examples of asReactor()


Examples of org.agilewiki.jactor2.core.impl.mtReactors.ReactorMtImpl.asReactor()

        }
        oldMessage = source.getCurrentRequest();
        if ((oldMessage != null) && oldMessage.getIsolationReactor() != null) {
            isolationReactor = oldMessage.getIsolationReactor();
        } else
            isolationReactor = source.isCommonReactor() ? null : (IsolationReactor) source.asReactor();
        if (!(targetReactor instanceof CommonReactor)) {
            if (isolationReactor != null && isolationReactor != targetReactor && (_responseProcessor != null)) {
                throw new UnsupportedOperationException(
                        "Isolated requests can not be nested, even indirectly:\n" + toString());
            }
View Full Code Here

Examples of org.agilewiki.jactor2.core.impl.mtReactors.ReactorMtImpl.asReactor()

            }
            isolationReactor = (IsolationReactor) targetReactor;
        }
        sourceExceptionHandler = (ExceptionHandler<RESPONSE_TYPE>) source
                .getExceptionHandler();
        final boolean local = targetReactor == source.asReactor();
        if (local || !source.buffer(this, targetReactorImpl)) {
            targetReactorImpl.unbufferedAddMessage(this, local);
        }
    }
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.