Package com.bytedesk.core.settings
Class SettingsInitializer
java.lang.Object
com.bytedesk.core.settings.SettingsInitializer
- All Implemented Interfaces:
org.springframework.beans.factory.SmartInitializingSingleton
@Component
@DependsOn("workgroupInitializer")
public class SettingsInitializer
extends Object
implements org.springframework.beans.factory.SmartInitializingSingleton
Settings初始化器
依赖于 WorkgroupInitializer,确保在工作组初始化完成后再初始化平台设置
因为平台工单中心配置需要关联默认工作组
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AuthorityRestServiceprivate final SettingsRestService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate void
-
Field Details
-
settingsRestService
-
authorityRestService
-
-
Constructor Details
-
SettingsInitializer
public SettingsInitializer()
-
-
Method Details
-
afterSingletonsInstantiated
public void afterSingletonsInstantiated()- Specified by:
afterSingletonsInstantiatedin interfaceorg.springframework.beans.factory.SmartInitializingSingleton
-
initAuthority
private void initAuthority()
-