Package org.kie.api.internal.utils
Class ServiceDiscoveryImpl
- java.lang.Object
-
- org.kie.api.internal.utils.ServiceDiscoveryImpl
-
public class ServiceDiscoveryImpl extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
LEGACY_CONF_FILE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> void
addService(Class<T> serviceClass, T service)
void
addService(String serviceName, Object object)
static ServiceDiscoveryImpl
getInstance()
static Stream<URL>
getKieConfsFromKnownModules(ClassLoader cl)
Map<String,List<Object>>
getServices()
void
registerConfs(ClassLoader classLoader, URL url)
void
reset()
-
-
-
Field Detail
-
LEGACY_CONF_FILE
public static final String LEGACY_CONF_FILE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static ServiceDiscoveryImpl getInstance()
-
addService
public <T> void addService(Class<T> serviceClass, T service)
-
reset
public void reset()
-
registerConfs
public void registerConfs(ClassLoader classLoader, URL url)
-
getKieConfsFromKnownModules
public static Stream<URL> getKieConfsFromKnownModules(ClassLoader cl)
-
-