org.apache.camel.impl
Class MappedEndpointConfiguration

java.lang.Object
  extended by org.apache.camel.impl.DefaultEndpointConfiguration
      extended by org.apache.camel.impl.MappedEndpointConfiguration
All Implemented Interfaces:
EndpointConfiguration

public final class MappedEndpointConfiguration
extends DefaultEndpointConfiguration

Fallback implementation of EndpointConfiguration used by Components that did not yet define a configuration type.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.camel.EndpointConfiguration
EndpointConfiguration.UriFormat
 
Field Summary
 
Fields inherited from interface org.apache.camel.EndpointConfiguration
URI_AUTHORITY, URI_FRAGMENT, URI_HOST, URI_PATH, URI_PORT, URI_QUERY, URI_SCHEME, URI_SCHEME_SPECIFIC_PART, URI_USER_INFO
 
Method Summary
 boolean equals(Object other)
           
<T> T
getParameter(String name)
          Gets the value of a particular parameter.
 int hashCode()
           
protected  void parseURI()
           
<T> void
setParameter(String name, T value)
          Sets the value of a particular parameter.
 String toUriString(EndpointConfiguration.UriFormat format)
          Returns the formatted configuration string of an Endpoint.
 
Methods inherited from class org.apache.camel.impl.DefaultEndpointConfiguration
getCamelContext, getURI, setURI, setURI
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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
Overrides:
getParameter in class DefaultEndpointConfiguration
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
Overrides:
setParameter in class DefaultEndpointConfiguration
Parameters:
name - the parameter name
value - the parameter value

equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

parseURI

protected void parseURI()
Overrides:
parseURI in class DefaultEndpointConfiguration

toUriString

public String toUriString(EndpointConfiguration.UriFormat format)
Description copied from interface: EndpointConfiguration
Returns the formatted configuration string of an Endpoint.

Parameters:
format - the format
Returns:
the configuration URI in String format.


Apache CAMEL