Class 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".
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FHIRServerUtils

        public FHIRServerUtils()
    • 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 for
        defaultValue - the defaultValue to be returned if the JNDI entry isn't found