|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
CompositeDataSupport/i18NWhen an MBean exposes CompositeData and uses the CompositeDataSupport
class, the itemNames must be passed in. These names are used by the various consoles when displaying the composite data information. Is it a best practice to internationalize these names vs just hard coding within the mbean implementation? =========================================================================== For information on the Java Management extensions (JMX), please visit our home page at http://java.sun.com/products/JavaManagement/ The JMX-FORUM archives are accessible at http://archives.java.sun.com To unsubscribe, send email to listserv@... and include in the body of the message "signoff JMX-FORUM". For general help, send email to listserv@... and include in the body of the message "help". |
|
|
Re: CompositeDataSupport/i18N
As I see it these names are not really amenable to localization --
unless you want all potential programmatic access code to have to do
stuff like:
data.get( bundle.getString( "myField", locale ) )The descriptions of the fields are, however, amenable to localization -- but I'm not sure which JMX consoles expose these... -- Jess Holle Stephanie Smith wrote: When an MBean exposes CompositeData and uses the CompositeDataSupport class, the itemNames must be passed in. These names are used by the various consoles when displaying the composite data information. Is it a best practice to internationalize these names vs just hard coding within the mbean implementation? =========================================================================== For information on the Java Management extensions (JMX), please visit our home page at http://java.sun.com/products/JavaManagement/ The JMX-FORUM archives are accessible at http://archives.java.sun.com To unsubscribe, send email to listserv@... and include in the body of the message "signoff JMX-FORUM". For general help, send email to listserv@... and include in the body of the message "help". =========================================================================== For information on the Java Management extensions (JMX), please visit our home page at http://java.sun.com/products/JavaManagement/ The JMX-FORUM archives are accessible at http://archives.java.sun.com To unsubscribe, send email to listserv@... and include in the body of the message "signoff JMX-FORUM". For general help, send email to listserv@... and include in the body of the message "help". |
| Free embeddable forum powered by Nabble | Forum Help |