@Component @Profile(value="!desktop") public class ServiceStarter extends Object implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>, org.springframework.beans.factory.DisposableBean
| Constructor and Description |
|---|
ServiceStarter() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
Optional<org.springframework.security.authentication.UsernamePasswordAuthenticationToken> |
getDesktopUserToken() |
protected File |
getServiceConfig() |
protected String |
getServiceURL(org.tomlj.TomlParseResult config) |
void |
onApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent event) |
public void onApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>protected String getServiceURL(org.tomlj.TomlParseResult config)
protected File getServiceConfig() throws IOException
IOExceptionpublic void destroy()
throws Exception
destroy in interface org.springframework.beans.factory.DisposableBeanExceptionpublic Optional<org.springframework.security.authentication.UsernamePasswordAuthenticationToken> getDesktopUserToken()
Copyright © 2021 Corpuslinguistic working group Humboldt University Berlin. All rights reserved.