Package com.bytedesk.core.category
Class CategoryInitializer
java.lang.Object
com.bytedesk.core.category.CategoryInitializer
- All Implemented Interfaces:
org.springframework.beans.factory.SmartInitializingSingleton
@Component
public class CategoryInitializer
extends Object
implements org.springframework.beans.factory.SmartInitializingSingleton
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AuthorityRestServiceprivate final CategoryRestService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate void
-
Field Details
-
categoryRestService
-
authorityRestService
-
-
Constructor Details
-
CategoryInitializer
public CategoryInitializer()
-
-
Method Details
-
afterSingletonsInstantiated
public void afterSingletonsInstantiated()- Specified by:
afterSingletonsInstantiatedin interfaceorg.springframework.beans.factory.SmartInitializingSingleton
-
initAuthority
private void initAuthority()
-