package com.springboot.cloud.auth.authentication.config;

import com.springboot.cloud.auth.authentication.service.PopedomService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Component
class LoadResourceDefine {

    @Autowired
    private PopedomService popedomService;

    @PostConstruct
    public void resourceConfigAttributes() {
        popedomService.loadPopedom();
    }
}
