Package com.jalios.jcms.service
Class ServiceUtils
- java.lang.Object
-
- com.jalios.jcms.service.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.
-
-
-
Field Detail
-
DELIMITERS
protected static final java.lang.String DELIMITERS
- See Also:
- Constant Field Values
-
-
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 ispropKey
- Returns:
- List of Objects of the given type as parameter
-
-