Class ServiceHelper
java.lang.Object
org.talend.sdk.component.runtime.manager.service.ServiceHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateServiceInstance(ClassLoader loader, String containerId, Class<?> serviceClass) Create an instance of a Service with serialisation system and interceptors ...
-
Constructor Details
-
ServiceHelper
public ServiceHelper()
-
-
Method Details
-
createServiceInstance
public Object createServiceInstance(ClassLoader loader, String containerId, Class<?> serviceClass) throws NoSuchMethodException Create an instance of a Service with serialisation system and interceptors ...- Parameters:
loader- : class loader.containerId- : container id.serviceClass- : class of service.- Returns:
- instance of service.
- Throws:
NoSuchMethodException- if no default constructor.
-