org.apache.camel.impl
Class DefaultEndpointConfiguration
java.lang.Object
org.apache.camel.impl.DefaultEndpointConfiguration
- All Implemented Interfaces:
- EndpointConfiguration
- Direct Known Subclasses:
- MappedEndpointConfiguration
public abstract class DefaultEndpointConfiguration
- extends Object
- implements EndpointConfiguration
Default implementation of EndpointConfiguration
.
- Version:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultEndpointConfiguration
public DefaultEndpointConfiguration(CamelContext camelContext)
DefaultEndpointConfiguration
public DefaultEndpointConfiguration(CamelContext camelContext,
String uri)
getURI
public URI getURI()
- Description copied from interface:
EndpointConfiguration
- Returns the URI configuration of an
Endpoint
.
- Specified by:
getURI
in interface EndpointConfiguration
- Returns:
- the configuration URI.
setURI
public void setURI(URI uri)
setURI
public void setURI(String uri)
getParameter
public <T> T getParameter(String name)
- Description copied from interface:
EndpointConfiguration
- Gets the value of a particular parameter.
- Specified by:
getParameter
in interface EndpointConfiguration
- Parameters:
name
- the parameter name
- Returns:
- the configuration URI.
setParameter
public <T> void setParameter(String name,
T value)
- Description copied from interface:
EndpointConfiguration
- Sets the value of a particular parameter.
- Specified by:
setParameter
in interface EndpointConfiguration
- Parameters:
name
- the parameter namevalue
- the parameter value
getCamelContext
protected CamelContext getCamelContext()
parseURI
protected void parseURI()
Apache Camel