Package com.amazonaws.services.simpleworkflow.flow.core

Examples of com.amazonaws.services.simpleworkflow.flow.core.Settable


                if (!voidReturnType) {
                    if (!Promise.class.isAssignableFrom(returnType)) {
                        throw new IllegalArgumentException("Cannot decorate " + method.getName()
                                + " as its return type is not void or Promise");
                    }
                    result = new Settable();
                }
                this.method = method;
            }
View Full Code Here


                Object r = swfWorkflowConsumer.processWorkflow(parameters, startTime, replaying);
                if (r instanceof Promise) {
                    methodResult.set((Promise) r);
                } else if (r != null) {
                    methodResult.set(new Settable(r));
                }
            }

            @Override
            protected void doCatch(Throwable e) throws Throwable {
View Full Code Here

                if (!voidReturnType) {
                    if (!Promise.class.isAssignableFrom(returnType)) {
                        throw new IllegalArgumentException("Cannot decorate " + method.getName()
                                + " as its return type is not void or Promise");
                    }
                    result = new Settable();
                }
                this.method = method;
            }
View Full Code Here

                if (!voidReturnType) {
                    if (!Promise.class.isAssignableFrom(returnType)) {
                        throw new IllegalArgumentException("Cannot decorate " + method.getName()
                                + " as its return type is not void or Promise");
                    }
                    result = new Settable();
                }
                this.method = method;
            }
View Full Code Here

TOP

Related Classes of com.amazonaws.services.simpleworkflow.flow.core.Settable

Copyright © 2018 www.massapicom. 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.