public class AppInit extends Object implements org.spincast.core.server.ServerStartedListener
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
AppInit(org.spincast.plugins.httpclient.HttpClient httpClient,
org.spincast.core.config.SpincastConfig spincastConfig) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cacheWebBundle()
Load the main page so the js and
css bundles caches are created.
|
protected org.spincast.plugins.httpclient.HttpClient |
getHttpClient() |
protected org.spincast.core.config.SpincastConfig |
getSpincastConfig() |
void |
serverStartedSuccessfully() |
@Inject
public AppInit(org.spincast.plugins.httpclient.HttpClient httpClient,
org.spincast.core.config.SpincastConfig spincastConfig)
protected org.spincast.plugins.httpclient.HttpClient getHttpClient()
protected org.spincast.core.config.SpincastConfig getSpincastConfig()
public void serverStartedSuccessfully()
serverStartedSuccessfully in interface org.spincast.core.server.ServerStartedListenerprotected void cacheWebBundle()
Copyright © 2019. All rights reserved.