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