Package com.ibm.fhir.server.helper
Class FHIRServerUtils
- java.lang.Object
-
- com.ibm.fhir.server.helper.FHIRServerUtils
-
public class FHIRServerUtils extends 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(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(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
-
-