Class ModuleConfiguration

    • Field Detail

      • roots

        public Class<?>[] roots
        Paths of root resources in the module. This is replacing the deprecated root-type.
      • isHeadless

        @Deprecated
        public boolean isHeadless
        Deprecated.
        Use module links instead. If a module doesn't declare a module item it will be headless by default. Still used for compatibility mode - for those modules not yet using moduleItems.
      • moduleShortcuts

        public List<ModuleShortcut> moduleShortcuts
        A list of entry points into the module - to be shown in the main webengine page. This is optional and may be ignored if your don't want to provide shortcuts to your module entry points.
      • types

        public Class<?>[] types
        Web Types explicitly declared. If null no web types were explicitly declared and old type loading method from the generated web-types file should be used.
      • directory

        public File directory
        The module directory. Must be set by the client before registering the descriptor.
      • fragmentDirectories

        public List<File> fragmentDirectories
      • file

        public File file
        The module configuration file (this will be set by the module config parser)
      • resources

        @Deprecated
        public List<ResourceBinding> resources
        Deprecated.
        resources are deprecated - you should use a jax-rs application to declare more resources.
      • templateFileExt

        public String templateFileExt
      • allowHostOverride

        public boolean allowHostOverride
    • Constructor Detail

      • ModuleConfiguration

        public ModuleConfiguration()
      • ModuleConfiguration

        public ModuleConfiguration​(WebEngine engine)
    • Method Detail

      • setEngine

        public void setEngine​(WebEngine engine)
      • getName

        public String getName()
      • getDirectory

        public File getDirectory()
      • getBase

        public String getBase()
      • flushCache

        public void flushCache()
      • isLoaded

        public boolean isLoaded()
      • isHeadless

        public boolean isHeadless()