Interface IServiceBroker
public interface IServiceBroker
Access specialists and sevices by their id
- Author:
- I-D Media AG
-
Method Summary
Modifier and TypeMethodDescription@NotNull List<IServiceModuleState> Request a list of all running services and some additional info<T> TrequestService(String SERVICEID, Class<T> type) Obtain a Service<T> TrequestService(String SERVICEID, Class<T> type, boolean bLogExceptions) Obtain a ServicebooleanrestartService(IServiceModuleState pModule) Restart a given module.
-
Method Details
-
requestService
Obtain a Service- Type Parameters:
T- Service Instance- Parameters:
SERVICEID- internal Service IDtype- Service Class- Returns:
- Instance or
null
-
requestService
Obtain a Service- Type Parameters:
T- Service Instance- Parameters:
SERVICEID- internal Service IDtype- Service ClassbLogExceptions-- Returns:
- Instance or
null
-
getRegisteredServices
Request a list of all running services and some additional info- Returns:
-
restartService
Restart a given module. Make sure that it is not alive!- Parameters:
pModule-- Returns:
- success state
-