public abstract class UriEndpointComponent extends DefaultComponent
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending| Constructor and Description |
|---|
UriEndpointComponent(CamelContext context,
Class<? extends Endpoint> endpointClass) |
UriEndpointComponent(Class<? extends Endpoint> endpointClass) |
| Modifier and Type | Method and Description |
|---|---|
ComponentConfiguration |
createComponentConfiguration()
Creates a configuration helper object for a component that lets you configure the various
URI and parameter values; then create the full URI for it, create a new Endpoint from it
or configure an existing Endpoint from the values.
|
static SortedMap<String,ParameterConfiguration> |
createParameterConfigurationMap(Class<? extends Endpoint> endpointClass)
Returns a newly created sorted map, indexed by name of all the parameter configurations
of the given endpoint class using introspection for the various annotations like
UriEndpoint, UriParam, UriParams |
Class<? extends Endpoint> |
getEndpointClass() |
SortedMap<String,ParameterConfiguration> |
getParameterConfigurationMap()
Returns the sorted map of all the URI query parameter names to their
ParameterConfiguration objects |
protected static void |
populateParameterConfigurationMap(SortedMap<String,ParameterConfiguration> parameterMap,
Class<?> aClass,
String prefix) |
void |
setEndpointClass(Class<? extends Endpoint> endpointClass)
To use a specific endpoint class, instead of what has been provided by the constructors.
|
afterConfiguration, createConfiguration, createEndpoint, createEndpoint, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, preProcessUri, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendpublic UriEndpointComponent(CamelContext context, Class<? extends Endpoint> endpointClass)
public void setEndpointClass(Class<? extends Endpoint> endpointClass)
endpointClass - the endpoint class to usepublic ComponentConfiguration createComponentConfiguration()
ComponentcreateComponentConfiguration in interface ComponentcreateComponentConfiguration in class DefaultComponentpublic static SortedMap<String,ParameterConfiguration> createParameterConfigurationMap(Class<? extends Endpoint> endpointClass)
UriEndpoint, UriParam, UriParamsprotected static void populateParameterConfigurationMap(SortedMap<String,ParameterConfiguration> parameterMap, Class<?> aClass, String prefix)
public SortedMap<String,ParameterConfiguration> getParameterConfigurationMap()
ParameterConfiguration objectsApache Camel