Class TypeConverterLoaderDownloadListener

java.lang.Object
org.apache.camel.main.download.TypeConverterLoaderDownloadListener
All Implemented Interfaces:
org.apache.camel.CamelContextAware, ArtifactDownloadListener, org.apache.camel.spi.HasCamelContext

public class TypeConverterLoaderDownloadListener extends Object implements ArtifactDownloadListener, org.apache.camel.CamelContextAware
  • Constructor Details

    • TypeConverterLoaderDownloadListener

      public TypeConverterLoaderDownloadListener()
  • Method Details

    • getCamelContext

      public org.apache.camel.CamelContext getCamelContext()
      Specified by:
      getCamelContext in interface org.apache.camel.spi.HasCamelContext
    • setCamelContext

      public void setCamelContext(org.apache.camel.CamelContext camelContext)
      Specified by:
      setCamelContext in interface org.apache.camel.CamelContextAware
    • onDownloadedFile

      public void onDownloadedFile(File file)
      Description copied from interface: ArtifactDownloadListener
      After the artifact has been downloaded
      Specified by:
      onDownloadedFile in interface ArtifactDownloadListener
      Parameters:
      file - the downloaded artifact as a file
    • loadTypeConverters

      protected void loadTypeConverters(File file) throws Exception
      Throws:
      Exception
    • findTypeConverterLoaderClasses

      protected void findTypeConverterLoaderClasses(Collection<String> loaders, InputStream is) throws IOException
      Throws:
      IOException
    • loadTypeConverters

      protected void loadTypeConverters(Collection<String> loaders) throws ClassNotFoundException
      Throws:
      ClassNotFoundException