[Minor] added RuntimeMock.getServiceHandler()

This commit is contained in:
Robert von Burg 2014-02-02 20:41:39 +01:00
parent be67876faf
commit 5ce91bfe4b
1 changed files with 5 additions and 0 deletions

View File

@ -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();
}