[jboss-jira] [JBoss JIRA] (WFLY-9551) Ability to add Properties binding in Naming subsystem

Brad Maxwell (JIRA) issues at jboss.org
Mon Nov 13 11:28:00 EST 2017


Brad Maxwell created WFLY-9551:
----------------------------------

             Summary: Ability to add Properties binding in Naming subsystem
                 Key: WFLY-9551
                 URL: https://issues.jboss.org/browse/WFLY-9551
             Project: WildFly
          Issue Type: Feature Request
          Components: Naming
    Affects Versions: 11.0.0.Final
            Reporter: Brad Maxwell
            Priority: Minor


Something like this whee multiple properties can be specified and then looked up as a java.util.Properties object:

{code}
Properties properties = (Properties) new InitialContext().lookup("java:global/myProperties");
{code}

{code}
<subsystem xmlns="urn:jboss:domain:naming:2.0">
    <bindings>
        <properties name="java:global/myProperties">
             <property name="environment" value="production"/>
             <property name="size" value="100"/>
              ...
        </properties>
    </bindings>
</subsystem>
{code}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list