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.@Deprecated CONFIGUREDRESOLVERSYSTEMTYPE configureFromFile(File file) throws IllegalArgumentException, UnsupportedOperationException, InvalidConfigurationFileException
ConfigurableResolverSystem
from the specified file
This method is deprecated. Please use {#link fromFile(File)
instead.file
- The file the ConfigurableResolverSystem
should be configured fromResolverSystem
IllegalArgumentException
- If the file is not specified, is a directory, or does not existInvalidConfigurationFileException
- If the configuration file contents are not in appropriate formatUnsupportedOperationException
- If this ConfigurableResolverSystem
does not support configuration by File
@Deprecated CONFIGUREDRESOLVERSYSTEMTYPE configureFromFile(String pathToFile) throws IllegalArgumentException, UnsupportedOperationException, InvalidConfigurationFileException
ConfigurableResolverSystem
from the file at the specified path
This method is deprecated. Please use {#link fromFile(String)
instead.pathToFile
- Path to the file the ConfigurableResolverSystem
should be configured fromResolverSystem
IllegalArgumentException
- If the file is not specified, is a directory, or does not existInvalidConfigurationFileException
- If the configuration file contents are not in appropriate formatUnsupportedOperationException
- If this ConfigurableResolverSystem
does not support configuration by File
InvalidConfigurationFileException
- If the configuration file contents are not in appropriate format@Deprecated CONFIGUREDRESOLVERSYSTEMTYPE configureFromClassloaderResource(String path) throws IllegalArgumentException, UnsupportedOperationException, InvalidConfigurationFileException
ConfigurableResolverSystem
from the result of
ClassLoader.getResource(String)
using the current Thread.getContextClassLoader()
This method is deprecated. Please use {#link fromClassloaderResource(String)
instead.path
- Path to the classloader resourceResolverSystem
IllegalArgumentException
- If the either argument is not specified or if the path can not be foundUnsupportedOperationException
- If this ConfigurableResolverSystem
does not support configuration by ClassLoader
resourceInvalidConfigurationFileException
- If the configuration file contents are not in appropriate format@Deprecated CONFIGUREDRESOLVERSYSTEMTYPE configureFromClassloaderResource(String path, ClassLoader cl) throws IllegalArgumentException, UnsupportedOperationException, InvalidConfigurationFileException
ConfigurableResolverSystem
from the result of
ClassLoader.getResource(String)
using the specified ClassLoader
This method is deprecated. Please use {#link fromClassloaderResource(String, ClassLoader)
instead.path
- Path to the classloader resourcecl
- The classloaderResolverSystem
IllegalArgumentException
- If the either argument is not specified or if the path can not be foundUnsupportedOperationException
- If this ConfigurableResolverSystem
does not support configuration by ClassLoader
resourceInvalidConfigurationFileException
- If the configuration file contents are not in appropriate formatCONFIGUREDRESOLVERSYSTEMTYPE fromFile(File file) throws IllegalArgumentException, InvalidConfigurationFileException
ResolverSystem
from the specified filefile
- The file the ResolverSystem
should be configured fromResolverSystem
IllegalArgumentException
- 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 path
This method is deprecated. Please use {#link configureFromFile(String)
instead.pathToFile
- Path to the file the ResolverSystem
should be configured fromResolverSystem
IllegalArgumentException
- 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()
This method is deprecated. Please use {#link configureFromClassloaderResource(String)
instead.path
- Path to the classloader resourceResolverSystem
IllegalArgumentException
- 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 ClassLoader
This method is deprecated. Please use {#link configureFromClassloaderResource(String, ClassLoader)
instead.path
- Path to the classloader resourceloader
- The classloaderResolverSystem
IllegalArgumentException
- If the either argument is not specified or if the path can not be foundInvalidConfigurationFileException
- If the file is not in correct formatCopyright © 2021 JBoss by Red Hat. All rights reserved.