Class FHIRServerUtils
- java.lang.Object
-
- org.linuxforhealth.fhir.server.helper.FHIRServerUtils
-
public class FHIRServerUtils extends java.lang.Object
Utility functions used by fhir-server.
-
-
Constructor Summary
Constructors Constructor Description FHIRServerUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T
getJNDIValue(java.lang.String jndiName, T defaultValue)
Retrieves the specified JNDI entry and interprets it as a value of type "T".
-
-
-
Method Detail
-
getJNDIValue
public static <T> T getJNDIValue(java.lang.String jndiName, T defaultValue)
Retrieves the specified JNDI entry and interprets it as a value of type "T".- Parameters:
jndiName
- the name of the JNDI entry to search fordefaultValue
- the defaultValue to be returned if the JNDI entry isn't found
-
-