geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rex Wang <>
Subject Build the GBeanInfo with the attribute name caselessly?
Date Tue, 23 Jun 2009 13:06:48 GMT
Build the GBeanInfo with the attribute name caselessly?

Currently, we build the GBeanInfo attribute according to the java code
convention. However, we user set the attribute throught the plan, he have to
pay attention to the case of the attribute name, such as:
        <gbean name="SMTPTransport">
            <attribute name="host">${SMTPHost}</attribute>
            <attribute name="port">${SMTPPort}</attribute>
            <attribute name="keepAliveTimeout">60000</attribute>
            <attribute name="maxThreads">40</attribute>
            <attribute name="acceptCount">10</attribute>
            <attribute name="connectionTimeout">60000</attribute>
            <attribute name="connectionLinger">-1</attribute>
            <attribute name="address"></attribute>

but we it comes to the ra.xml, we always use the first upper case word to
define the properties, such as:
and that causes the program logic in the config module builder should deal
with that specificly...programmer might hate that..

So, if either the user or developer will get un-happyness on this
configuration, why not we build the GBeanInfo with a caseless name
indentifid GAttributeInfo?

Jun 23

View raw message