Package org.switchyard.config.model

Examples of org.switchyard.config.model.Descriptor


     * @return the Model
     */
    @Override
    public Model read(Configuration config) {
        String name = config.getName();
        Descriptor desc = getDescriptor();
        if (CHANNELS.equals(name)) {
            return new V1ChannelsModel(config, desc);
        } else if (CHANNEL.equals(name)) {
            return new V1ChannelModel(config, desc);
        } else if (LISTENERS.equals(name)) {
View Full Code Here


        return createInboundHandler(uri, name, null, null, mapperModel);
    }

    protected InboundHandler<?> createInboundHandler(final String uri, final String name, final OperationSelectorModel selectorModel,
        final MessageComposerModel composerModel, final ContextMapperModel mapperModel) {
        V1BaseCamelBindingModel camelBindingModel = new V1BaseCamelBindingModel(_configuration, new Descriptor()) {
            @Override
            public String getName() {
                return name;
            }
            @Override
View Full Code Here

     * @return the Model
     */
    @Override
    public Model read(Configuration config) {
        String name = config.getName();
        Descriptor desc = getDescriptor();
        if (IMPLEMENTATION_BPM.equals(name)) {
            return new V1BPMComponentImplementationModel(config, desc);
        } else if (OPERATION.equals(name)) {
            return new V1BPMOperationModel(config, desc);
        } else if (USER_GROUP_CALLBACK.equals(name)) {
View Full Code Here

     * @return the Model
     */
    @Override
    public Model read(Configuration config) {
        String name = config.getName();
        Descriptor desc = getDescriptor();
        if (IMPLEMENTATION_BPM.equals(name)) {
            return new V1BPMComponentImplementationModel(config, desc);
        } else if (OPERATION.equals(name)) {
            return new V1BPMOperationModel(config, desc);
        } else if (USER_GROUP_CALLBACK.equals(name)) {
View Full Code Here

        return createInboundHandler(serviceName, uri, name, null, null, mapperModel);
    }

    protected InboundHandler<?> createInboundHandler(QName serviceName, final String uri, final String name, final OperationSelectorModel selectorModel,
        final MessageComposerModel composerModel, final ContextMapperModel mapperModel) {
        V1BaseCamelBindingModel camelBindingModel = new V1BaseCamelBindingModel(_configuration, new Descriptor()) {
            @Override
            public String getName() {
                return name;
            }
            @Override
View Full Code Here

     * @return the Model
     */
    @Override
    public Model read(Configuration config) {
        String name = config.getName();
        Descriptor desc = getDescriptor();
        if (BINDING_JPA.equals(name)) {
            return new V1CamelJpaBindingModel(config, desc);
        }
        // V1CamelJpaConsumerBindingModel and V1CamelJpaProducerBindingModel get created by V1CamelJpaBindingModel
        return super.read(config);
View Full Code Here

     * @return the Model
     */
    @Override
    public Model read(Configuration config) {
        String name = config.getName();
        Descriptor desc = getDescriptor();
        if (IMPLEMENTATION_RULES.equals(name)) {
            return new V1RulesComponentImplementationModel(config, desc);
        } else if (OPERATION.equals(name)) {
            return new V1RulesOperationModel(config, desc);
        }
View Full Code Here

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

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

     * @return the Model
     */
    @Override
    public Model read(Configuration config) {
        String name = config.getName();
        Descriptor desc = getDescriptor();
        if (BINDING_FILE.equals(name)) {
            return new V1CamelFileBindingModel(config, desc);
        }
        // V1CamelFileConsumerBindingModel and V1CamelFileProducerBindingModel get created by V1CamelFileBindingModel
        return super.read(config);
View Full Code Here

TOP

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

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.