[Minor] added RuntimeMock.getServiceHandler()
This commit is contained in:
parent
be67876faf
commit
5ce91bfe4b
|
@ -23,6 +23,7 @@ import li.strolch.agent.api.StrolchAgent;
|
|||
import li.strolch.agent.impl.StrolchRealm;
|
||||
import li.strolch.runtime.configuration.RuntimeConfiguration;
|
||||
import li.strolch.runtime.privilege.StrolchPrivilegeHandler;
|
||||
import li.strolch.service.api.ServiceHandler;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
@ -52,6 +53,10 @@ public final class RuntimeMock {
|
|||
return this.container.getComponent(StrolchPrivilegeHandler.class);
|
||||
}
|
||||
|
||||
public ServiceHandler getServiceHandler() {
|
||||
return this.container.getComponent(ServiceHandler.class);
|
||||
}
|
||||
|
||||
public StrolchRealm getDefaultRealm() {
|
||||
return this.container.getDefaultRealm();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue