public final class Domain extends Object
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).| Modifier and Type | Method and Description |
|---|---|
ArchiveFactory |
getArchiveFactory()
Obtains the
ArchiveFactory for this domain. |
Configuration |
getConfiguration()
Obtains the
Configuration associated with this Domain |
public Configuration getConfiguration()
Configuration associated with this Domainpublic ArchiveFactory getArchiveFactory()
ArchiveFactory for this domain. All Archives created from the factory will be backed
by this domain's configuration.Copyright © 2014 JBoss by Red Hat. All Rights Reserved.