Class ServiceUtils

java.lang.Object
com.jalios.jcms.service.ServiceUtils

public final class ServiceUtils extends Object
  • Field Details

  • Method Details

    • createInstances

      public static <T> List<T> createInstances(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