getServerType() |
public static ServerType getServerType(): Returns the
J2EE server type. The source of the setting is the
gov.va.med.environment.servertype JVM argument passed to the J2EE server upon
startup. If JVM arg missing, looks for WebLogic-specific classloader classes
to determine if server type is WebLogic. Defaults to return UNKNOWN if the JVM
argument is not present.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
return value |
Output |
gov.va.med.environment.ServerType: an enumerated J2EE
server type (weblogic, tomcat, websphere, etc.)
|
|
isProduction() |
public static boolean isProduction(): Returns whether
the administrator has configured the J2EE server to be "production" in a
VA-medical-center sense, i.e., is this system operating on production VA data.
The source of the setting is the gov.va.med.environment.production JVM
argument passed to the J2EE server upon startup. A setting of true desginates
the server as a production server; any other value (including not passing the
JVM argument at all) marks the server as not a VA production server.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
return value |
Output |
boolean: true if the server is a VA production
server, false if not.
|
|