public final class ServiceUtils
extends java.lang.Object
Modifier and Type | Method and 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
DELIMITERS . |
public static <T> java.util.List<T> createInstances(java.lang.String propKey)
DELIMITERS
.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
clazz
- Class
representing the Class
to returnCopyright © 2001-2017 Jalios SA. All Rights Reserved.