EasyBeans is an open source implementation by ObjectWeb of the EJB3 container specification. 
X Wiki
  History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: EZB-251
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Loris Bouzonnet
Reporter: Loris Bouzonnet
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
EasyBeans

Allow to refer to the value of a system property

Created: 26/Mar/08 02:20 PM   Updated: 27/Mar/08 03:33 PM
Component/s: Libraries
Affects Version/s: EasyBeans 1.0 RC3
Fix Version/s: EasyBeans 1.0 RC4


 Description  « Hide
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'.

 All   Comments   Change History   Related Builds      Sort Order:
Guillaume Sauthier - 26/Mar/08 02:28 PM
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 ?

Loris Bouzonnet - 26/Mar/08 02:40 PM
Yes great idea!


Copyright © 2006-2007 EasyBeans / ObjectWeb consortium

http://www.easybeans.org