Class CamelRestContextFactoryBean

java.lang.Object
org.apache.camel.model.IdentifiedType
org.apache.camel.spring.xml.CamelRestContextFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<List<org.apache.camel.model.rest.RestDefinition>>

@Metadata(label="spring,configuration,rest") public class CamelRestContextFactoryBean extends org.apache.camel.model.IdentifiedType implements org.springframework.beans.factory.FactoryBean<List<org.apache.camel.model.rest.RestDefinition>>
Configuration of REST services using rest-dsl using XML
  • Constructor Details

  • Method Details

    • getObject

      public List<org.apache.camel.model.rest.RestDefinition> getObject() throws Exception
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<List<org.apache.camel.model.rest.RestDefinition>>
      Throws:
      Exception
    • getObjectType

      public Class<?> getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<List<org.apache.camel.model.rest.RestDefinition>>
    • isSingleton

      public boolean isSingleton()
      Specified by:
      isSingleton in interface org.springframework.beans.factory.FactoryBean<List<org.apache.camel.model.rest.RestDefinition>>
    • getRests

      public List<org.apache.camel.model.rest.RestDefinition> getRests()
    • setRests

      public void setRests(List<org.apache.camel.model.rest.RestDefinition> rests)