Package org.switchyard.config.model

Examples of org.switchyard.config.model.Descriptor$DescriptorLSResourceResolver


     * {@inheritDoc}
     */
    @Override
    public Model read(Configuration config) {
        String name = config.getName();
        Descriptor desc = getDescriptor();
        if (name.equals(CompositeModel.COMPOSITE)) {
            return new V1CompositeModel(config, desc);
        } else if (name.equals(CompositeServiceModel.SERVICE)) {
            Configuration config_parent = config.getParent();
            if (config_parent != null) {
View Full Code Here


     * {@inheritDoc}
     */
    @Override
    public Model read(Configuration config) {
        String name = config.getName();
        Descriptor desc = getDescriptor();
        if (name.equals(PropertiesModel.PROPERTIES)) {
            return new V2PropertiesModel(config, desc);
        }
        return super.read(config);
    }
View Full Code Here

     * {@inheritDoc}
     */
    @Override
    public Model read(Configuration config) {
        String name = config.getName();
        Descriptor desc = getDescriptor();
        if (name.equals(SwitchYardModel.SWITCHYARD)) {
            return new V1SwitchYardModel(config, desc);
        } else if (name.equals(TransformsModel.TRANSFORMS)) {
            return new V1TransformsModel(config, desc);
        } else if (name.equals(ValidatesModel.VALIDATES)) {
View Full Code Here

        if (model != null) {
            return model;
        }

        String name = config.getName();
        Descriptor desc = getDescriptor();
        if (name.equals(TRANSFORM_DOZER)) {
            return new V2DozerTransformModel(config, desc);
        } else if (name.equals(DozerMappingFilesModel.MAPPING_FILES)) {
            return new V2DozerMappingFilesModel(config, desc);
        } else if (name.equals(DozerFileEntryModel.ENTRY)) {
View Full Code Here

    }

    @Override
    public Model read(Configuration config) {
        String name = config.getName();
        Descriptor desc = getDescriptor();
        if (name.equals(VALIDATE_XML)) {
            return new XmlValidateModel(config, desc);
        }
        return super.read(config);
    }
View Full Code Here

    }

    @Override
    public Model read(Configuration config) {
        String name = config.getName();
        Descriptor desc = getDescriptor();
        if (name.equals(TRANSFORM_JAVA)) {
            return new JavaTransformModel(config, desc);
        }
        return super.read(config);
    }
View Full Code Here

     * {@inheritDoc}
     */
    @Override
    public Model read(Configuration config) {
        String name = config.getName();
        Descriptor desc = getDescriptor();

        if (name.equals(VALIDATE_JAVA)) {
            return new V1JavaValidateModel(config, desc);
        } else if (name.equals(VALIDATE_XML)) {
            return new V1XmlValidateModel(config, desc);
View Full Code Here

    }

    @Override
    public Model read(Configuration config) {
        String name = config.getName();
        Descriptor desc = getDescriptor();
        if (name.equals(TRANSFORM_SMOOKS)) {
            return new SmooksTransformModel(config, desc);
        } else if (name.equals(SmooksConfigModel.CONFIG)) {
            return new SmooksConfigModel(config, desc);
        }
View Full Code Here

    }

    @Override
    public Model read(Configuration config) {
        String name = config.getName();
        Descriptor desc = getDescriptor();
        if (name.equals(VALIDATE_JAVA)) {
            return new JavaValidateModel(config, desc);
        }
        return super.read(config);
    }
View Full Code Here

        super(desc);
    }

    @Override
    public Model read(Configuration config) {
        Descriptor desc = getDescriptor();
        String name = config.getName();
        if (name.startsWith(BindingModel.BINDING)) {
            return new SOAPBindingModel(config, desc);
        } else if (name.equals(PortModel.PORT)) {
            return new PortModel(config, desc);
View Full Code Here

TOP

Related Classes of org.switchyard.config.model.Descriptor$DescriptorLSResourceResolver

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.