Package org.apache.camel.spring.xml
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<RestDefinition>>
@Metadata(label="spring,configuration,rest") public class CamelRestContextFactoryBean extends IdentifiedType implements org.springframework.beans.factory.FactoryBean<List<RestDefinition>>
Configuration of REST services using rest-dsl using XML
-
-
Constructor Summary
Constructors Constructor Description CamelRestContextFactoryBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<RestDefinition>
getObject()
Class<?>
getObjectType()
List<RestDefinition>
getRests()
boolean
isSingleton()
void
setRests(List<RestDefinition> rests)
-
Methods inherited from class org.apache.camel.model.IdentifiedType
getId, setId
-
-
-
-
Constructor Detail
-
CamelRestContextFactoryBean
public CamelRestContextFactoryBean()
-
-
Method Detail
-
getObject
public List<RestDefinition> getObject() throws Exception
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean<List<RestDefinition>>
- Throws:
Exception
-
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<List<RestDefinition>>
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interfaceorg.springframework.beans.factory.FactoryBean<List<RestDefinition>>
-
getRests
public List<RestDefinition> getRests()
-
setRests
public void setRests(List<RestDefinition> rests)
-
-