public class OptionalLiveReloadServer extends Object implements InitializingBean
LiveReloadServer
. The LiveReloadServer
may
gracefully fail to start (e.g. because of a port conflict) or may be omitted entirely.Constructor and Description |
---|
OptionalLiveReloadServer(LiveReloadServer server)
Create a new
OptionalLiveReloadServer instance. |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
triggerReload()
Trigger LiveReload if the server is up and running.
|
public OptionalLiveReloadServer(LiveReloadServer server)
OptionalLiveReloadServer
instance.server
- the server to manage or null
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
public void triggerReload()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.