Package org.spincast.website
Class AppInit
java.lang.Object
org.spincast.website.AppInit
- All Implemented Interfaces:
org.spincast.core.server.ServerStartedListener
Called when the HTTP server is started.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAppInit(org.spincast.plugins.httpclient.HttpClient httpClient, org.spincast.core.config.SpincastConfig spincastConfig) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidLoad the main page so the js and css bundles caches are created.protected org.spincast.plugins.httpclient.HttpClientprotected org.spincast.core.config.SpincastConfigvoid
-
Field Details
-
logger
protected static final org.slf4j.Logger logger
-
-
Constructor Details
-
AppInit
@Inject public AppInit(org.spincast.plugins.httpclient.HttpClient httpClient, org.spincast.core.config.SpincastConfig spincastConfig)
-
-
Method Details
-
getHttpClient
protected org.spincast.plugins.httpclient.HttpClient getHttpClient() -
getSpincastConfig
protected org.spincast.core.config.SpincastConfig getSpincastConfig() -
serverStartedSuccessfully
public void serverStartedSuccessfully()- Specified by:
serverStartedSuccessfullyin interfaceorg.spincast.core.server.ServerStartedListener
-
cacheWebBundle
protected void cacheWebBundle()Load the main page so the js and css bundles caches are created.
-