Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-166

Allow domain.xml and sun-resources.xml to be configured for embedded GlassFish container

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 1.0.0.Alpha3
    • 1.0.0.Alpha2
    • GlassFish Containers
    • None
    • Documentation (Ref Guide, User Guide, etc.), Interactive Demo/Tutorial, Compatibility/Configuration
    • Medium

    Description

      In addition to specifying the instance root, the embedded GlassFish container allows a distinct domain.xml file to be specified. Support this override in the container configuration.

      private String domainXml;

      public String getDomainXml()

      { return domainXml; }

      public void setDomainXml(String domainXml)

      { this.domainXml = domainXml; }

      Often times, the developer is fixing the instance root in order to setup container resources (JDBC resources, JMS destinations). Instead of using the instance root for this purpose, allow the developer to specify a sun-resources.xml file. Use the embedded GlassFish command runner to execute the add-resources asadmin command to feed the resources defined in this file into the serer in the container setup method.

      private String resourcesXml;

      public String getResourcesXml()

      { return resourcesXml; }

      public void setResourcesXml(String resourcesXml)

      { this.resourcesXml = resourcesXml; }

      See http://blogs.sun.com/arungupta/entry/totd_133_jpa2_jpql_criteria

      Attachments

        Activity

          People

            dan.j.allen Dan Allen (Inactive)
            dan.j.allen Dan Allen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: