DefaultComponent
@Deprecated public abstract class UriEndpointComponent extends DefaultComponent
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
Constructor and Description |
---|
UriEndpointComponent(CamelContext context,
Class<? extends Endpoint> endpointClass)
Deprecated.
|
UriEndpointComponent(Class<? extends Endpoint> endpointClass)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ComponentConfiguration |
createComponentConfiguration()
Deprecated.
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)
Deprecated.
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()
Deprecated.
|
SortedMap<String,ParameterConfiguration> |
getParameterConfigurationMap()
Deprecated.
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)
Deprecated.
|
void |
setEndpointClass(Class<? extends Endpoint> endpointClass)
Deprecated.
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, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isResolvePropertyPlaceholders, preProcessUri, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, setProperties, setResolvePropertyPlaceholders, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public UriEndpointComponent(Class<? extends Endpoint> endpointClass)
public UriEndpointComponent(CamelContext context, Class<? extends Endpoint> endpointClass)
public void setEndpointClass(Class<? extends Endpoint> endpointClass)
endpointClass
- the endpoint class to usepublic ComponentConfiguration createComponentConfiguration()
Component
createComponentConfiguration
in interface Component
createComponentConfiguration
in class DefaultComponent
public static SortedMap<String,ParameterConfiguration> createParameterConfigurationMap(Class<? extends Endpoint> endpointClass)
UriEndpoint
, UriParam
, UriParams
protected static void populateParameterConfigurationMap(SortedMap<String,ParameterConfiguration> parameterMap, Class<?> aClass, String prefix)
public Class<? extends Endpoint> getEndpointClass()
public SortedMap<String,ParameterConfiguration> getParameterConfigurationMap()
ParameterConfiguration
objectsApache Camel