[jboss-jira] [JBoss JIRA] Commented: (JBWEB-164) Allow expression language in server config files

Shaun Appleton (JIRA) jira-events at lists.jboss.org
Mon Jan 31 05:42:39 EST 2011


    [ https://issues.jboss.org/browse/JBWEB-164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578991#comment-12578991 ] 

Shaun Appleton commented on JBWEB-164:
--------------------------------------

sure - http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/4.3/html-single/Server_Configuration_Guide/index.html#Using_JMX_as_a_Microkernel-JBoss_MBean_Services
sect 5.4.2.1-

MBean attribute values don't need to be hardcoded literal strings. Service files may contain references to system properties using the ${name} notation, where name is the name of a Java system property. The value of this system property, as would be returned from the call System.getProperty("name"). Multiple properties can be specified separated by commas like ${name1,name2,name3}. If there is no system property named name1, name2 will be tried and then name3. This allows multiple levels of substitution to be used. Finally, a default value can be added using a colon separator. The substitution ${name:default value} would substitute the the text "default value" if the system property name didn't exist. If none of the listed properties exist and no default value is given, no substitution will occur. 

> Allow expression language in server config files
> ------------------------------------------------
>
>                 Key: JBWEB-164
>                 URL: https://issues.jboss.org/browse/JBWEB-164
>             Project: JBoss Web
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Tomcat
>            Reporter: Shaun Appleton
>            Assignee: Shaun Appleton
>
> Allow expression language like that shown in http://www.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/4.3/html/Server_Configuration_Guide/JBoss_MBean_Services-The_SARDeployer_MBean.html
> to be used in server config files for example server.xml

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list