Examples of InvocationContextImpl


Examples of org.apache.airavata.workflow.tracking.impl.state.InvocationContextImpl

        // e.g. notifier.invokingServiceFailed().

        // XXX If error occurs before invoking a service, create a fake
        // invocation context.
        if (this.invocationContext == null) {
            this.invocationContext = new InvocationContextImpl(this.initiator, this.receiver);
        }

        logger.error(e.getMessage(), e);
        if (message == null || "".equals(message)) {
            message = "Error";
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.impl.state.InvocationContextImpl

    @Deprecated
    public void receivedFault(String message) {
        // XXX If error occurs before invoking a service, create a fake
        // invocation context.
        if (this.invocationContext == null) {
            this.invocationContext = new InvocationContextImpl(this.initiator, this.receiver);
        }

        if (message == null || "".equals(message)) {
            message = "Error";
        }
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.impl.state.InvocationContextImpl

    @Override
    public void receivedFault(WSIFMessage fault) {
        // XXX If error occurs before invoking a service, create a fake
        // invocation context.
        if (this.invocationContext == null) {
            this.invocationContext = new InvocationContextImpl(this.initiator, this.receiver);
        }

        String message = "Received a fault message from the service";
        XmlObject header = null;
        XmlObject body;
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.impl.state.InvocationContextImpl

        // e.g. notifier.invokingServiceFailed().

        // XXX If error occurs before invoking a service, create a fake
        // invocation context.
        if (this.invocationContext == null) {
            this.invocationContext = new InvocationContextImpl(this.initiator, this.receiver);
        }

        logger.error(e.getMessage(), e);
        if (message == null || "".equals(message)) {
            message = "Error";
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.impl.state.InvocationContextImpl

    @Deprecated
    public void receivedFault(String message) {
        // XXX If error occurs before invoking a service, create a fake
        // invocation context.
        if (this.invocationContext == null) {
            this.invocationContext = new InvocationContextImpl(this.initiator, this.receiver);
        }

        if (message == null || "".equals(message)) {
            message = "Error";
        }
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.impl.state.InvocationContextImpl

    @Override
    public void receivedFault(WSIFMessage fault) {
        // XXX If error occurs before invoking a service, create a fake
        // invocation context.
        if (this.invocationContext == null) {
            this.invocationContext = new InvocationContextImpl(this.initiator, this.receiver);
        }

        String message = "Received a fault message from the service";
        XmlObject header = null;
        XmlObject body;
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.impl.state.InvocationContextImpl

        WorkflowInvokedDocument activity = WorkflowInvokedDocument.Factory.newInstance();
        RequestReceiverType activityType = activity.addNewWorkflowInvoked();

        // create the invocation context; set the initiator to the remote entity
        InvocationContextImpl invocationContext = new InvocationContextImpl(context.getMyself(), initiator);
        if (initiator != null) {
            activityType.addNewInitiator().set(initiator.toBaseIDType());
        } else {
            logger.warn("Possible Error in context that was passed. "
                    + "There was no remote invoker defined for workflow invoked (initiator=NULL)");
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.impl.state.InvocationContextImpl

        InvokingServiceDocument activity = InvokingServiceDocument.Factory.newInstance();
        RequestInitiatorType activityType = activity.addNewInvokingService();

        // create the invocation context; set the receiver to the remote entity
        InvocationContextImpl invocationContext = new InvocationContextImpl(context.getMyself(), receiver);
        activityType.addNewReceiver().set(receiver.toBaseIDType());

        // add header and body fields
        if (header != null || body != null) {
            InvocationMessageType request = activityType.addNewRequest();
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.impl.state.InvocationContextImpl

        ServiceInvokedDocument activity = ServiceInvokedDocument.Factory.newInstance();
        RequestReceiverType activityType = activity.addNewServiceInvoked();

        // create the invocation context; set the initiator to the remote entity
        InvocationContextImpl invocationContext = new InvocationContextImpl(context.getMyself(), initiator);
        if (initiator != null) {
            activityType.addNewInitiator().set(initiator.toBaseIDType());
        } else {
            logger.warn("Possible Error in context that was passed. "
                    + "There was no remote invoker defined (initiator=NULL)");
View Full Code Here

Examples of org.apache.webbeans.intercept.InvocationContextImpl

        if(getWebBeansType().equals(WebBeansType.MANAGED))
        {
            // Call Post Construct
            if (WebBeansUtil.isContainsInterceptorMethod(getInterceptorStack(), InterceptionType.POST_CONSTRUCT))
            {
                InvocationContextImpl impl = new InvocationContextImpl(getWebBeansContext(), null, instance, null, null,
                        getWebBeansContext().getInterceptorUtil().getInterceptorMethods(getInterceptorStack(),
                                                                                        InterceptionType.POST_CONSTRUCT),
                                                                                        InterceptionType.POST_CONSTRUCT);
                impl.setCreationalContext(ownerCreationalContext);
                try
                {
                    impl.proceed();
                }

                catch (Exception e)
                {
                    getLogger().log(Level.SEVERE, WebBeansLoggerFacade.constructMessage(OWBLogConst.ERROR_0008, "@PostConstruct."), e);
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.