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