Class ResourceManagerFactory

java.lang.Object
org.apache.uima.fit.internal.ResourceManagerFactory

public class ResourceManagerFactory extends Object
INTERNAL API - Helper functions for dealing with resource managers and classloading This API is experimental and is very likely to be removed or changed in future versions.
  • Method Details

    • newResourceManager

      public static org.apache.uima.resource.ResourceManager newResourceManager() throws org.apache.uima.resource.ResourceInitializationException
      Throws:
      org.apache.uima.resource.ResourceInitializationException
    • setResourceManagerCreator

      public static void setResourceManagerCreator(ResourceManagerFactory.ResourceManagerCreator resourceManagerCreator)
      Mind that returning a singleton resource manager from ResourceManagerFactory is generally a bad idea because it gets destroyed on a regular basis. For this reason, it is called newResourceManager() and not getResourceManager().
    • getResourceManagerCreator

      public static ResourceManagerFactory.ResourceManagerCreator getResourceManagerCreator()