CONFIGUREDRESOLVERSYSTEMTYPE - View type of the ResolverSystem which does not support configurationpublic interface ConfigurableResolverSystem<CONFIGUREDRESOLVERSYSTEMTYPE extends ResolverSystem,UNCONFIGUREDRESOLVERSYSTEMTYPE extends ConfigurableResolverSystem<CONFIGUREDRESOLVERSYSTEMTYPE,UNCONFIGUREDRESOLVERSYSTEMTYPE>> extends ResolverSystem
Resolvers.use(Class)
or Resolvers.use(Class, ClassLoader) to create a new instance.| Modifier and Type | Method and Description |
|---|---|
CONFIGUREDRESOLVERSYSTEMTYPE |
fromClassloaderResource(String path)
Configures this
ResolverSystem from the result of ClassLoader.getResource(String) using the
current Thread.getContextClassLoader() |
CONFIGUREDRESOLVERSYSTEMTYPE |
fromClassloaderResource(String path,
ClassLoader loader)
Configures this
ResolverSystem from the result of ClassLoader.getResource(String) using the
specified ClassLoader |
CONFIGUREDRESOLVERSYSTEMTYPE |
fromFile(File file)
Configures this
ResolverSystem from the specified file |
CONFIGUREDRESOLVERSYSTEMTYPE |
fromFile(String pathToFile)
Configures this
ResolverSystem from the file at the specified path |
CONFIGUREDRESOLVERSYSTEMTYPE fromFile(File file) throws IllegalArgumentException, InvalidConfigurationFileException
ResolverSystem from the specified filefile - The file the ResolverSystem should be configured fromResolverSystemIllegalArgumentException - If the file is not specified, is a directory, or does not existInvalidConfigurationFileException - If the file is not in correct formatCONFIGUREDRESOLVERSYSTEMTYPE fromFile(String pathToFile) throws IllegalArgumentException, InvalidConfigurationFileException
ResolverSystem from the file at the specified pathpathToFile - Path to the file the ResolverSystem should be configured fromResolverSystemIllegalArgumentException - If the file is not specified, is a directory, or does not existInvalidConfigurationFileException - If the file is not in correct formatCONFIGUREDRESOLVERSYSTEMTYPE fromClassloaderResource(String path) throws IllegalArgumentException, InvalidConfigurationFileException
ResolverSystem from the result of ClassLoader.getResource(String) using the
current Thread.getContextClassLoader()path - Path to the classloader resourceResolverSystemIllegalArgumentException - If the path is not specified or can not be foundInvalidConfigurationFileException - If the file is not in correct formatCONFIGUREDRESOLVERSYSTEMTYPE fromClassloaderResource(String path, ClassLoader loader) throws IllegalArgumentException, InvalidConfigurationFileException
ResolverSystem from the result of ClassLoader.getResource(String) using the
specified ClassLoaderpath - Path to the classloader resourceloader - The classloaderResolverSystemIllegalArgumentException - If either argument is not specified or if the path can not be foundInvalidConfigurationFileException - If the file is not in correct formatCopyright © 2025 JBoss by Red Hat. All rights reserved.