Class ServiceUtils


  • public final class ServiceUtils
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.lang.String DELIMITERS  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> java.util.List<T> createInstances​(java.lang.String propKey)
      Instantiates one or more objects according to the given property key whose value is one or more class names separated by coma, semicolon, space, tab or new line.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • createInstances

        public static <T> java.util.List<T> createInstances​(java.lang.String propKey)
        Instantiates one or more objects according to the given property key whose value is one or more class names separated by coma, semicolon, space, tab or new line.
        Parameters:
        propKey - property key to search and retrieve class names. eg: com.my.key: com.jalios.xxx.MyServiceClass,com.jalios.xxx.MyServiceClass2 with com.my.key is propKey
        Returns:
        List of Objects of the given type as parameter