org.apache.camel.spring
Class EndpointFactoryBean
java.lang.Object
org.apache.camel.model.IdentifiedType
org.apache.camel.spring.EndpointFactoryBean
- All Implemented Interfaces:
- org.springframework.beans.factory.FactoryBean
public class EndpointFactoryBean
- extends org.apache.camel.model.IdentifiedType
- implements org.springframework.beans.factory.FactoryBean
A FactoryBean
which instantiates Endpoint
objects
- Version:
- $Revision: 1.1 $
Methods inherited from class org.apache.camel.model.IdentifiedType |
getId, setId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EndpointFactoryBean
public EndpointFactoryBean()
getObject
public Object getObject()
throws Exception
- Specified by:
getObject
in interface org.springframework.beans.factory.FactoryBean
- Throws:
Exception
getObjectType
public Class getObjectType()
- Specified by:
getObjectType
in interface org.springframework.beans.factory.FactoryBean
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface org.springframework.beans.factory.FactoryBean
getContext
public org.apache.camel.CamelContext getContext()
setContext
public void setContext(org.apache.camel.CamelContext context)
- Sets the context to use to resolve endpoints
- Parameters:
context
- the context used to resolve endpoints
getEndpoint
public org.apache.camel.Endpoint getEndpoint()
setEndpoint
public void setEndpoint(org.apache.camel.Endpoint endpoint)
setSingleton
public void setSingleton(boolean singleton)
getUri
public String getUri()
setUri
public void setUri(String uri)
- Sets the URI to use to resolve the endpoint
- Parameters:
uri
- the URI used to set the endpoint
createEndpoint
protected org.apache.camel.Endpoint createEndpoint()
Copyright © 2007 Apache Software Foundation. All Rights Reserved.