Class Domain
java.lang.Object
org.jboss.shrinkwrap.api.Domain
Encapsulates a shared
Configuration to be used by all Archives created by this Domain's
ArchiveFactory. New domains are created via ShrinkWrap.createDomain() (for a default configuration
isolated from the ShrinkWrap.getDefaultDomain()), or ShrinkWrap.createDomain(Configuration) and
ShrinkWrap.createDomain(ConfigurationBuilder) (to supply an explicit configuration property set).- Version:
- $Revision: $
- Author:
- ALR
-
Method Summary
Modifier and TypeMethodDescriptionObtains theArchiveFactoryfor this domain.Obtains theConfigurationassociated with thisDomain
-
Method Details
-
getConfiguration
Obtains theConfigurationassociated with thisDomain- Returns:
- the configuration
-
getArchiveFactory
Obtains theArchiveFactoryfor this domain. AllArchives created from the factory will be backed by this domain's configuration.- Returns:
- the archiveFactory
-