Package org.reflections
Interface Configuration
- All Known Implementing Classes:
ConfigurationBuilder
public interface Configuration
Configuration is used to create a configured instance of
Reflections
it is preferred to use ConfigurationBuilder
-
Method Summary
Modifier and TypeMethodDescriptionget class loaders, might be used for resolving methods/fieldsexecutor service used to scan files.get the fully qualified name filter used to filter types to be scannedthe metadata adapter used to fetch metadata from classesthe scanner instances used for scanning different metadatathe default serializer to use when saving ReflectiongetUrls()
the urls to be scannedboolean
if true (default), expand super types after scanning, for super types that were not scanned.
-
Method Details
-
getScanners
the scanner instances used for scanning different metadata -
getUrls
the urls to be scanned -
getMetadataAdapter
MetadataAdapter getMetadataAdapter()the metadata adapter used to fetch metadata from classes -
getInputsFilter
get the fully qualified name filter used to filter types to be scanned -
getExecutorService
ExecutorService getExecutorService()executor service used to scan files. if null, scanning is done in a simple for loop -
getSerializer
Serializer getSerializer()the default serializer to use when saving Reflection -
getClassLoaders
ClassLoader[] getClassLoaders()get class loaders, might be used for resolving methods/fields -
shouldExpandSuperTypes
boolean shouldExpandSuperTypes()if true (default), expand super types after scanning, for super types that were not scanned.
-