Skip to content
Read system property in a Java class

Read system property in a Java class

March 12, 2014

This entry is part of the Maximo Java Development series.

Here is a small piece of Java code that can be used to retrieve a Maximo system property in Java using MxServer.getConfig() method.

Properties configData = MXServer.getMXServer().getConfig();String prop = configData.getProperty("mxe.adminEmail");

Replace mxe.adminEmail with your property.



Share this:
Twitter Facebook LinkedIn