Interface ContextServiceLoaderPluginResolver
- All Superinterfaces:
AutoCloseable
,CamelContextAware
,HasCamelContext
,Service
,ShutdownableService
,StatefulService
,SuspendableService
ContextServicePlugin
implementations during
CamelContext initialization.
This resolver is responsible for automatically discovering and loading plugins that extend Camel's functionality through the Java ServiceLoader mechanism. Implementations of this interface participate in the Camel service lifecycle and are typically invoked during CamelContext startup to initialize third-party components and extensions.
The plugin resolution process typically occurs after the CamelContext has been created and configured but before routes are started, ensuring that all plugins have the opportunity to modify or extend the context as needed.
Implementations must be stateful services that can be started and stopped as part of the normal Camel lifecycle, and they must be aware of the CamelContext they are operating on.
- See Also:
-
Method Summary
Methods inherited from interface org.apache.camel.CamelContextAware
setCamelContext
Methods inherited from interface org.apache.camel.spi.HasCamelContext
getCamelContext
Methods inherited from interface org.apache.camel.ShutdownableService
shutdown
Methods inherited from interface org.apache.camel.StatefulService
getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspending
Methods inherited from interface org.apache.camel.SuspendableService
isSuspended, resume, suspend