@Service public class ConsulServiceImpl extends Object implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationStartedEvent>, ConsulService
Constructor and Description |
---|
ConsulServiceImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkAuthorize(String path,
String[] userRoles) |
void |
onApplicationEvent(org.springframework.boot.context.event.ApplicationStartedEvent event) |
public boolean checkAuthorize(String path, String[] userRoles)
checkAuthorize
in interface ConsulService
public void onApplicationEvent(org.springframework.boot.context.event.ApplicationStartedEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationStartedEvent>
Copyright © 2022. All rights reserved.