25 lines
485 B
Java
25 lines
485 B
Java
package ru.kirillius.XCP.Commons;
|
|
|
|
import ru.kirillius.XCP.Logging.LoggingSystem;
|
|
import ru.kirillius.XCP.Security.SecurityManager;
|
|
|
|
import java.util.List;
|
|
|
|
public interface Context {
|
|
Config getConfig();
|
|
|
|
ConfigManager getConfigManager();
|
|
|
|
<S extends Service> S getService(Class<S> serviceClass);
|
|
|
|
void shutdown();
|
|
|
|
SecurityManager getSecurityManager();
|
|
|
|
LoggingSystem getLoggingSystem();
|
|
|
|
List<String> getLaunchArgs();
|
|
|
|
boolean isDebuggingEnabled();
|
|
}
|