Package org.jboss.shrinkwrap.api
Class Domain
- java.lang.Object
-
- org.jboss.shrinkwrap.api.Domain
-
public final class Domain extends Object
Encapsulates a sharedConfiguration
to be used by allArchive
s created by thisDomain
'sArchiveFactory
. New domains are created viaShrinkWrap.createDomain()
(for a default configuration isolated from theShrinkWrap.getDefaultDomain()
), orShrinkWrap.createDomain(Configuration)
andShrinkWrap.createDomain(ConfigurationBuilder)
(to supply an explicit configuration property set).- Version:
- $Revision: $
- Author:
- ALR
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArchiveFactory
getArchiveFactory()
Obtains theArchiveFactory
for this domain.Configuration
getConfiguration()
Obtains theConfiguration
associated with thisDomain
-
-
-
Method Detail
-
getConfiguration
public Configuration getConfiguration()
Obtains theConfiguration
associated with thisDomain
- Returns:
- the configuration
-
getArchiveFactory
public ArchiveFactory getArchiveFactory()
Obtains theArchiveFactory
for this domain. AllArchive
s created from the factory will be backed by this domain's configuration.- Returns:
- the archiveFactory
-
-