Examples of ReferencePropertiesType


Examples of org.apache.axis.message.addressing.ReferencePropertiesType

        if (epr == null) {
            throw new Exception("epr is null");
        }

        final ReferencePropertiesType properties = epr.getProperties();

        if (properties == null) {
            throw new Exception("epr properties are null");
        }

        final QName groupKeyQName =
                Constants_GT4_0.GROUP_RESOURCE_KEY_QNAME;

        final MessageElement elem = properties.get(groupKeyQName);
        if (elem == null) {
            throw new Exception("key not present in EPR");
        }

        final String id = elem.getValue();
View Full Code Here

Examples of org.apache.axis.message.addressing.ReferencePropertiesType

        if (epr == null) {
            throw new Exception("epr is null");
        }

        final ReferencePropertiesType properties = epr.getProperties();

        if (properties == null) {
            throw new Exception("epr properties are null");
        }

        final QName ensembleKeyQName =
                Constants_GT4_0.ENSEMBLE_RESOURCE_KEY_QNAME;

        final MessageElement elem = properties.get(ensembleKeyQName);
        if (elem == null) {
            throw new Exception("key not present in EPR");
        }

        final String id = elem.getValue();
View Full Code Here

Examples of org.apache.axis.message.addressing.ReferencePropertiesType

        if (epr == null) {
            throw new Exception("epr is null");
        }

        final ReferencePropertiesType properties = epr.getProperties();

        if (properties == null) {
            throw new Exception("epr properties are null");
        }

        final QName instanceKeyQName = Constants_GT4_0.RESOURCE_KEY_QNAME;

        final MessageElement elem = properties.get(instanceKeyQName);
        if (elem == null) {
            throw new Exception("resource key not present in EPR");
        }

        final String id = elem.getValue();
View Full Code Here

Examples of org.apache.axis.message.addressing.ReferencePropertiesType

        StatusRPSet rpSet = (StatusRPSet) resp.get_any()[0].
                        getValueAsType(STATUS_RP_SET, StatusRPSet.class);

        String impl = null;
        ReferencePropertiesType refProps = this.endpoint.getProperties();
        if (refProps != null) {
             MessageElement key = refProps.get(RESOURCE_KEY_QNAME);
            if (key != null) {
                impl = key.getValue();
            }
        }
View Full Code Here

Examples of org.apache.axis.message.addressing.ReferencePropertiesType

        if (endpoint == null) {
            return false;
        }

        final ReferencePropertiesType rpt = endpoint.getProperties();
        if (rpt == null) {
            return false;
        }

        final MessageElement me =
                    rpt.get(Constants_GT4_0.RESOURCE_KEY_QNAME);
       
        return me != null;
    }
View Full Code Here

Examples of org.apache.axis.message.addressing.ReferencePropertiesType

        if (endpoint == null) {
            return false;
        }

        final ReferencePropertiesType rpt = endpoint.getProperties();
        if (rpt == null) {
            return false;
        }

        final MessageElement me =
                    rpt.get(Constants_GT4_0.GROUP_RESOURCE_KEY_QNAME);

        return me != null;
    }
View Full Code Here

Examples of org.apache.axis.message.addressing.ReferencePropertiesType

        if (endpoint == null) {
            return false;
        }

        final ReferencePropertiesType rpt = endpoint.getProperties();
        if (rpt == null) {
            return false;
        }

        final MessageElement me =
                    rpt.get(Constants_GT4_0.ENSEMBLE_RESOURCE_KEY_QNAME);

        return me != null;
    }
View Full Code Here

Examples of org.apache.axis.message.addressing.ReferencePropertiesType

        if (endpoint == null) {
            return false;
        }

        final ReferencePropertiesType rpt = endpoint.getProperties();
        if (rpt == null) {
            return false;
        }

        final MessageElement me =
                    rpt.get(Constants_GT4_0.NIMBUS_CONTEXTUALIZATION_RESOURCE_KEY_QNAME);

        return me != null;
    }
View Full Code Here

Examples of org.servicemix.ws.xmlbeans.addressing.v2003_03.ReferencePropertiesType

        // lets get the endpoint reference
        EndpointReferenceType endpointReference = subscribe.getConsumerReference();
        AttributedURI address = endpointReference.getAddress();
        System.out.println("EndpointReference address is: " + address.getStringValue());

        ReferencePropertiesType referenceProperties = endpointReference.getReferenceProperties();
        System.out.println("Reference properties: " + referenceProperties);


        // lets get the selector
        QueryExpressionType selector = subscribe.getSelector();
View Full Code Here

Examples of org.servicemix.ws.xmlbeans.addressing.v2003_03.ReferencePropertiesType

    }
   
    private EndpointReferenceType toEndpointReference(String ref) {
        EndpointReferenceType rc = EndpointReferenceType.Factory.newInstance();
        rc.addNewAddress().setStringValue(address);
        ReferencePropertiesType props = rc.addNewReferenceProperties();
        XmlCursor cursor = props.newCursor();
        cursor.setTextValue(ref);
        return rc;
    }
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.