Package com.netcracker.profiler.servlet
Class SpringBootInitializer
java.lang.Object
com.netcracker.profiler.servlet.SpringBootInitializer
- All Implemented Interfaces:
EventListener,javax.servlet.ServletContextListener
@SpringBootApplication(scanBasePackages={"com.netcracker.profiler.io","com.netcracker.profiler.sax.readers","com.netcracker.profiler.fetch","com.netcracker.profiler.sax.factory","com.netcracker.profiler.sax.builders"})
public class SpringBootInitializer
extends Object
implements javax.servlet.ServletContextListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.netcracker.profiler.io.CallReaderFactorystatic final Stringprotected org.springframework.context.ApplicationContextstatic final Stringprotected com.netcracker.profiler.io.IDumpExporterstatic final Stringprotected com.netcracker.profiler.io.ExcelExporterprotected com.netcracker.profiler.fetch.FetchCallTreeFactorystatic final Stringprotected com.netcracker.profiler.io.LoggedContainersInfoprotected com.netcracker.profiler.io.ReactorChainsResolver -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.netcracker.profiler.io.IActivePODReporterstatic com.netcracker.profiler.io.CallReaderFactorystatic com.netcracker.profiler.io.CallToJScallToJs(PrintWriter out, com.netcracker.profiler.io.CallFilterer cf) voidcontextDestroyed(javax.servlet.ServletContextEvent servletContextEvent) voidcontextInitialized(javax.servlet.ServletContextEvent servletContextEvent) voidstatic com.netcracker.profiler.io.IDumpExporterstatic com.netcracker.profiler.io.ExcelExporterstatic com.netcracker.profiler.fetch.FetchCallTreeFactorystatic org.springframework.context.ApplicationContextstatic Stringstatic voidinit()static com.netcracker.profiler.io.LoggedContainersInfostatic com.netcracker.profiler.io.ReactorChainsResolverstatic com.netcracker.profiler.io.searchconditions.BaseSearchConditionssearchConditions(String searchConditionsStr, long dateFrom, long dateTo)
-
Field Details
-
DUMP_ROOT_PROPERTY
- See Also:
-
IS_READ_FROM_DUMP
- See Also:
-
CASSANDRA_HOST_ENV
- See Also:
-
ELASTICSEARCH_HOST_ENV
- See Also:
-
callReaderFactory
@Autowired protected com.netcracker.profiler.io.CallReaderFactory callReaderFactory -
fetchCallTreeFactory
@Autowired protected com.netcracker.profiler.fetch.FetchCallTreeFactory fetchCallTreeFactory -
context
@Autowired protected org.springframework.context.ApplicationContext context -
reactorChainsResolver
@Autowired protected com.netcracker.profiler.io.ReactorChainsResolver reactorChainsResolver -
dumpExporter
@Autowired protected com.netcracker.profiler.io.IDumpExporter dumpExporter -
loggedContainersInfo
@Autowired protected com.netcracker.profiler.io.LoggedContainersInfo loggedContainersInfo -
excelExporter
@Autowired protected com.netcracker.profiler.io.ExcelExporter excelExporter
-
-
Constructor Details
-
SpringBootInitializer
public SpringBootInitializer()
-
-
Method Details
-
doSomethingAfterStartup
@EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class) public void doSomethingAfterStartup() -
callReaderFactory
public static com.netcracker.profiler.io.CallReaderFactory callReaderFactory() -
fetchCallTreeFactory
public static com.netcracker.profiler.fetch.FetchCallTreeFactory fetchCallTreeFactory() -
reactorChainsResolver
public static com.netcracker.profiler.io.ReactorChainsResolver reactorChainsResolver() -
getApplicationContext
public static org.springframework.context.ApplicationContext getApplicationContext() -
callToJs
public static com.netcracker.profiler.io.CallToJS callToJs(PrintWriter out, com.netcracker.profiler.io.CallFilterer cf) -
excelExporter
public static com.netcracker.profiler.io.ExcelExporter excelExporter() -
getIsReadFromDumpProperty
-
dumpExporter
public static com.netcracker.profiler.io.IDumpExporter dumpExporter() -
loggedContainersInfo
public static com.netcracker.profiler.io.LoggedContainersInfo loggedContainersInfo() -
activePODReporter
public static com.netcracker.profiler.io.IActivePODReporter activePODReporter() -
searchConditions
public static com.netcracker.profiler.io.searchconditions.BaseSearchConditions searchConditions(String searchConditionsStr, long dateFrom, long dateTo) -
init
public static void init() -
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent) - Specified by:
contextInitializedin interfacejavax.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent) - Specified by:
contextDestroyedin interfacejavax.servlet.ServletContextListener
-