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 - ResolverSystemIllegalArgumentException - 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 FileCONFIGUREDRESOLVERSYSTEMTYPE configureFromFile(String pathToFile) throws IllegalArgumentException, UnsupportedOperationException, InvalidConfigurationFileException
ConfigurableResolverSystem from the file at the specified pathpathToFile - ResolverSystemIllegalArgumentException - 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 FileInvalidConfigurationFileException - 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 - ResolverSystemIllegalArgumentException - 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 ClassLoaderpath - cl - ResolverSystemIllegalArgumentException - 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 © 2014 JBoss by Red Hat. All Rights Reserved.