Java 类org.apache.camel.model.RestContextRefDefinition 实例源码

项目:Camel    文件:AbstractCamelContextFactoryBean.java   
protected void initRestRefs() throws Exception {
    // add rest refs to existing rests
    if (getRestRefs() != null) {
        for (RestContextRefDefinition ref : getRestRefs()) {
            List<RestDefinition> defs = ref.lookupRests(getContext());
            for (RestDefinition def : defs) {
                LOG.debug("Adding rest from {} -> {}", ref, def);
                // add in top as they are most likely to be common/shared
                // which you may want to start first
                getRests().add(0, def);
            }
        }
    }
}
项目:Camel    文件:CamelContextFactoryBean.java   
public List<RestContextRefDefinition> getRestRefs() {
    return restRefs;
}
项目:Camel    文件:CamelContextFactoryBean.java   
public void setRestRefs(List<RestContextRefDefinition> restRefs) {
    this.restRefs = restRefs;
}
项目:Camel    文件:CamelContextFactoryBean.java   
public List<RestContextRefDefinition> getRestRefs() {
    return restRefs;
}
项目:Camel    文件:CamelContextFactoryBean.java   
public void setRestRefs(List<RestContextRefDefinition> restRefs) {
    this.restRefs = restRefs;
}
项目:Camel    文件:CamelContextFactoryBean.java   
public List<RestContextRefDefinition> getRestRefs() {
    return restRefs;
}
项目:Camel    文件:CamelContextFactoryBean.java   
public void setRestRefs(List<RestContextRefDefinition> restRefs) {
    this.restRefs = restRefs;
}
项目:switchyard    文件:CamelContextFactoryBeanDelegate.java   
@Override
public List<RestContextRefDefinition> getRestRefs() {
    return _factoryBean.getRestRefs();
}
项目:camel-cdi    文件:CamelContextFactoryBean.java   
public List<RestContextRefDefinition> getRestRefs() {
    return restRefs;
}
项目:camel-cdi    文件:CamelContextFactoryBean.java   
public void setRestRefs(List<RestContextRefDefinition> restRefs) {
    this.restRefs = restRefs;
}
项目:Camel    文件:AbstractCamelContextFactoryBean.java   
public abstract List<RestContextRefDefinition> getRestRefs();