Class Domain

    • Field Detail

      • configuration

        private final Configuration configuration
        Configuration for this Domain
      • archiveFactory

        private final ArchiveFactory archiveFactory
        Factory for creating archives within this Domain
    • Constructor Detail

      • Domain

        Domain​(Configuration configuration)
        throws java.lang.IllegalArgumentException
        Creates a new instance backed by the supplied Configuration
        Parameters:
        configuration - backing the new instance
        Throws:
        java.lang.IllegalArgumentException - If the configuration is not supplied
    • Method Detail

      • getArchiveFactory

        public ArchiveFactory getArchiveFactory()
        Obtains the ArchiveFactory for this domain. All Archives created from the factory will be backed by this domain's configuration.
        Returns:
        the archiveFactory