Details

    • Type: Task
    • Status: Closed (View workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: None
    • Fix versions: 0.2
    • Components: None
    • Labels:
      None

      Description

      Here's the API proposal:

      From Java:

      Container.setProperty(String propertyName, String value);
      Ex: container.setProperty(ServletPropertySet.PORT, "8080");

      There would be several property sets interfaces regroupring known properties: GeneralPropertySet, ServletPropertySet, EjbPropertySet, J2EEPropertySet, etc. We'll discover them as we implement the different properties.

      From Ant:

      <cargo-xxx ...
      <property name="cargo.servlet.port", "8080"/>
      ...

      We'll need to map the XXXPropertySet interfaces to a flat property name space. Hence the proposal to use: cargo.propertysetprefix.property name (e.g. "cargo.servlet.port", etc).

      Note: I have almost finished implementing this already, removing the existing Container.setPort() by this mechanism.

        Attachments

          Activity

            People

            • Assignee:
              vincentmassol Vincent Massol (Inactive)
              Reporter:
              vincentmassol Vincent Massol (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: