Interface ExtensionsTypeLoaderFactory

All Known Implementing Classes:
DefaultExtensionsTypeLoaderFactory

@NoImplement public interface ExtensionsTypeLoaderFactory
Factory class for instances of ClassTypeLoader properly setup to introspect types following the rules of the Extensions API.

The extensions runtime should not use instances of ClassTypeLoader which were not created through implementations of this interface.

Since:
1.0
  • Method Details

    • getDefault

      static ExtensionsTypeLoaderFactory getDefault()
      Returns:
      the system default implementation of this class
    • createTypeLoader

      org.mule.metadata.api.ClassTypeLoader createTypeLoader()
      Returns:
      a new instance of ClassTypeLoader
    • createTypeLoader

      org.mule.metadata.api.ClassTypeLoader createTypeLoader(ClassLoader classLoader)
      Parameters:
      classLoader - the ClassLoader that the created loader should use to access java typesl
      Returns:
      a new instance of ClassTypeLoader