Package org.jboss.shrinkwrap.api
Class Configuration
- java.lang.Object
-
- org.jboss.shrinkwrap.api.Configuration
-
public class Configuration extends Object
Encapsulates all configuration for a givenDomain. EachArchivecreated by the domain'sArchiveFactorywill consult the configuration internally. AnArchive's configuration may not be changed after construction; if a new config is required it must be created under a new domain. The default configuration is defined byConfigurationBuilder, and new configurations are created viaConfigurationBuilder.build(). Note that while theConfigurationis immutable, its properties may have internal state that may be changed. For true isolation, use separateDomains when creatingArchives.- Version:
- $Revision: $
- Author:
- ALR, Ken Gullaksen
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Iterable<ClassLoader>getClassLoaders()ExecutorServicegetExecutorService()Deprecated.No longer used by the implementation, will be removed in SW 2.0ExtensionLoadergetExtensionLoader()
-
-
-
Method Detail
-
getExtensionLoader
public ExtensionLoader getExtensionLoader()
- Returns:
- the extensionLoader
-
getExecutorService
@Deprecated public ExecutorService getExecutorService()
Deprecated.No longer used by the implementation, will be removed in SW 2.0- Returns:
- the executorService
-
getClassLoaders
public Iterable<ClassLoader> getClassLoaders()
- Returns:
- The
ClassLoaders to be used in this configuration; used in extension loading and adding CL resources to the archive, etc
-
-