Class AppInit

java.lang.Object
org.spincast.website.AppInit
All Implemented Interfaces:
org.spincast.core.server.ServerStartedListener

public class AppInit extends Object implements org.spincast.core.server.ServerStartedListener
Called when the HTTP server is started.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final org.slf4j.Logger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    AppInit(org.spincast.plugins.httpclient.HttpClient httpClient, org.spincast.core.config.SpincastConfig spincastConfig)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    Load the main page so the js and css bundles caches are created.
    protected org.spincast.plugins.httpclient.HttpClient
     
    protected org.spincast.core.config.SpincastConfig
     
    void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      serverStartedSuccessfully in interface org.spincast.core.server.ServerStartedListener
    • cacheWebBundle

      protected void cacheWebBundle()
      Load the main page so the js and css bundles caches are created.