public final class Domain extends Object
Configuration
to be used by all Archive
s 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 Domain
public ArchiveFactory getArchiveFactory()
ArchiveFactory
for this domain. All Archive
s created from the factory will be backed
by this domain's configuration.Copyright © 2016 JBoss by Red Hat. All rights reserved.