Interface PluginManager


public interface PluginManager
A manager for internal plugins. This is part of the internal Camel API and not meant for public usage.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> void
    addContextPlugin(Class<T> type, T module)
    Allows installation of custom plugins to the Camel context.
    <T> T
    Gets a plugin of the given type.
    <T> void
    lazyAddContextPlugin(Class<T> type, Supplier<T> module)
    Allows lazy installation of custom plugins to the Camel context.
  • Method Details

    • getContextPlugin

      <T> T getContextPlugin(Class<T> type)
      Gets a plugin of the given type.
      Parameters:
      type - the type of the extension
      Returns:
      the extension, or null if no extension has been installed.
    • addContextPlugin

      <T> void addContextPlugin(Class<T> type, T module)
      Allows installation of custom plugins to the Camel context.
      Parameters:
      type - the type of the extension
      module - the instance of the extension
    • lazyAddContextPlugin

      <T> void lazyAddContextPlugin(Class<T> type, Supplier<T> module)
      Allows lazy installation of custom plugins to the Camel context.
      Parameters:
      type - the type of the extension
      module - the instance of the extension