Package org.apache.tuscany.sca.core.assembly

Examples of org.apache.tuscany.sca.core.assembly.ReferenceParametersImpl


                } catch (CloneNotSupportedException e) {
                    // will not happen
                }
            }
            if (refParams == null) {
                refParams = new ReferenceParametersImpl();
                clonedRef.getExtensions().add(refParams);
            }
            refParams.setCallbackID(callbackID);
            refParams.setConversationID(conversationID);
            return ((CompositeActivatorImpl)compositeActivator).getComponentContextHelper()
View Full Code Here


        this.conversation = conversation;
    }


    protected ReferenceParameters getReferenceParameters() {
        ReferenceParameters parameters = new ReferenceParametersImpl();
        parameters.setCallbackID(callbackID);
        if (getConversation() != null) {
            parameters.setConversationID(conversation.getConversationID());
        }
        return parameters;
    }
View Full Code Here

     * @see java.io.Externalizable#writeExternal(java.io.ObjectOutput)
     */
    public void writeExternal(ObjectOutput out) throws IOException {
        try {
            if (reference != null) {
                ReferenceParameters parameters = new ReferenceParametersImpl();
                parameters.setCallbackID(callbackID);
                if (conversationID != null) {
                    parameters.setConversationID(conversationID);
                } else {
                    parameters.setConversationID(null);
                }
                reference.getExtensions().add(parameters);
                scdl =
                    ((CompositeActivatorImpl)compositeActivator).getComponentContextHelper()
                        .toXML(component, reference);
View Full Code Here

        this.conversation = conversation;
    }


    protected ReferenceParameters getReferenceParameters() {
        ReferenceParameters parameters = new ReferenceParametersImpl();
        parameters.setCallbackID(callbackID);
        if (getConversation() != null) {
            parameters.setConversationID(conversation.getConversationID());
        }
        return parameters;
    }
View Full Code Here

                } catch (CloneNotSupportedException e) {
                    // will not happen
                }
            }
            if (refParams == null) {
                refParams = new ReferenceParametersImpl();
              
                // remove any existing reference parameters from the clone               
                Object toRemove = null;
                for (Object extension : clonedRef.getExtensions()){
                    if (extension instanceof ReferenceParameters){
View Full Code Here

            this.conversation = null;
        }
    }

    protected ReferenceParameters getReferenceParameters() {
        ReferenceParameters parameters = new ReferenceParametersImpl();
        parameters.setCallbackID(callbackID);
        if (getConversation() != null) {
            parameters.setConversationID(conversation.getConversationID());
        }
        return parameters;
    }
View Full Code Here

     * @see java.io.Externalizable#writeExternal(java.io.ObjectOutput)
     */
    public void writeExternal(ObjectOutput out) throws IOException {
        try {
            if (reference != null) {
                ReferenceParameters parameters = new ReferenceParametersImpl();
                parameters.setCallbackID(callbackID);
                if (conversationID != null) {
                    parameters.setConversationID(conversationID);
                } else {
                    parameters.setConversationID(null);
                }
                reference.getExtensions().add(parameters);
                scdl =
                    ((CompositeActivatorImpl)compositeActivator).getComponentContextHelper()
                        .toXML(component, reference);
View Full Code Here

        this.conversation = conversation;
    }


    protected ReferenceParameters getReferenceParameters() {
        ReferenceParameters parameters = new ReferenceParametersImpl();
        parameters.setCallbackID(callbackID);
        if (getConversation() != null) {
            parameters.setConversationID(conversation.getConversationID());
        }
        return parameters;
    }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.core.assembly.ReferenceParametersImpl

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.