Package com.bytedesk.service.agent
Class AgentInitializer
java.lang.Object
com.bytedesk.service.agent.AgentInitializer
- All Implemented Interfaces:
org.springframework.beans.factory.SmartInitializingSingleton
@Component("agentInitializer")
@DependsOn("memberInitializer")
public class AgentInitializer
extends Object
implements org.springframework.beans.factory.SmartInitializingSingleton
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AgentRepository
private final AgentRestService
private final AuthorityRestService
private final BytedeskProperties
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
agentService
-
agentRepository
-
bytedeskProperties
-
authorityService
-
-
Constructor Details
-
AgentInitializer
public AgentInitializer()
-
-
Method Details
-
afterSingletonsInstantiated
public void afterSingletonsInstantiated()- Specified by:
afterSingletonsInstantiated
in interfaceorg.springframework.beans.factory.SmartInitializingSingleton
-
init
public void init() -
initPermissions
private void initPermissions()
-