EasyBeans
  1. EasyBeans
  2. EZB-251

Allow to refer to the value of a system property

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: EasyBeans 1.0 RC3
    • Fix Version/s: EasyBeans 1.0 RC4
    • Component/s: Libraries
    • Labels:
      None
    • Global Rank:
      2360

      Description

      Here, for example, the configuration relative to clustering of an embedded Easybeans (in JOnAS):
      <easybeans xmlns="http://org.ow2.easybeans.server">

      <config />

      <!-- Define components that will be started at runtime -->
      <components>
      <!-- Launch the cmi component providing a support of clustering -->
      <cmi config="#config" lifecycleManaged="false" description="$

      {jonas.name}

      " />
      </components>
      </easybeans>
      The property 'description' should refer to the value of system property 'jonas.name'.

        Activity

        Hide
        Guillaume Sauthier
        added a comment -

        That could be opened with the concept of PropertyResolver ?

        So that System properties could be searched, but other places too...

        interface IPropertyResolver {
        String resolve(String propertyName)
        }

        WDYT ?

        Show
        Guillaume Sauthier
        added a comment - That could be opened with the concept of PropertyResolver ? So that System properties could be searched, but other places too... interface IPropertyResolver { String resolve(String propertyName) } WDYT ?
        Hide
        Loris Bouzonnet
        added a comment -

        Yes great idea!

        Show
        Loris Bouzonnet
        added a comment - Yes great idea!

          People

          • Assignee:
            Loris Bouzonnet
            Reporter:
            Loris Bouzonnet
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Issue deployment