CONFIGUREDRESOLVERSYSTEMTYPE
- View type of the ResolverSystem
which does not support configurationpublic interface ConfigurableResolverSystem<CONFIGUREDRESOLVERSYSTEMTYPE extends ResolverSystem> extends ResolverSystem
Resolvers.use(Class)
or Resolvers.use(Class, ClassLoader)
to create a new instance.Modifier and Type | Method and Description |
---|---|
CONFIGUREDRESOLVERSYSTEMTYPE |
configureFromClassloaderResource(String path)
Optional operation.
|
CONFIGUREDRESOLVERSYSTEMTYPE |
configureFromClassloaderResource(String path,
ClassLoader cl)
Optional operation.
|
CONFIGUREDRESOLVERSYSTEMTYPE |
configureFromFile(File file)
Optional operation.
|
CONFIGUREDRESOLVERSYSTEMTYPE |
configureFromFile(String pathToFile)
Optional operation.
|
CONFIGUREDRESOLVERSYSTEMTYPE configureFromFile(File file) throws IllegalArgumentException, UnsupportedOperationException, InvalidConfigurationFileException
ConfigurableResolverSystem
from the specified filefile
- ResolverSystem
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
CONFIGUREDRESOLVERSYSTEMTYPE configureFromFile(String pathToFile) throws IllegalArgumentException, UnsupportedOperationException, InvalidConfigurationFileException
ConfigurableResolverSystem
from the file at the specified pathpathToFile
- ResolverSystem
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 formatCONFIGUREDRESOLVERSYSTEMTYPE configureFromClassloaderResource(String path) throws IllegalArgumentException, UnsupportedOperationException, InvalidConfigurationFileException
ConfigurableResolverSystem
from the result of
ClassLoader.getResource(String)
using the current Thread.getContextClassLoader()
path
- ResolverSystem
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 configureFromClassloaderResource(String path, ClassLoader cl) throws IllegalArgumentException, UnsupportedOperationException, InvalidConfigurationFileException
ConfigurableResolverSystem
from the result of
ClassLoader.getResource(String)
using the specified ClassLoader
path
- cl
- ResolverSystem
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 formatCopyright © 2013 JBoss by Red Hat. All rights reserved.