Class HdfsOsgiHelper

java.lang.Object
org.apache.camel.component.hdfs.HdfsOsgiHelper

public class HdfsOsgiHelper extends Object

Class which may be used in OSGi/Blueprint environment to perform some static initialization

This could be useful to fix the usage of ServiceLoader by Hadoop 2 in OSGi environment.

  • Constructor Details

    • HdfsOsgiHelper

      public HdfsOsgiHelper(Map<String,String> fileSystems)
      By using this constructor it is possible to perform static initialization of FileSystem.