Package jetbrains.buildServer.diagnostic
Class ThreadDumpSaverFactory
- java.lang.Object
-
- jetbrains.buildServer.diagnostic.ThreadDumpSaverFactory
-
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<ThreadDumpSaver>
public class ThreadDumpSaverFactory extends Object implements org.springframework.beans.factory.FactoryBean<ThreadDumpSaver>
Created by Andrey Titov on 5/10/17. Allows bridge static singleton to the spring context
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classThreadDumpSaverFactory.ThreadDumpSaverConfiguratorAllows to resolve cyclic dependency while initializing SBuildServer - ThreadDumpSaver context will be filled later
-
Constructor Summary
Constructors Constructor Description ThreadDumpSaverFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThreadDumpSavergetObject()Class<?>getObjectType()booleanisSingleton()
-
-
-
Method Detail
-
getObject
public ThreadDumpSaver getObject() throws Exception
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<ThreadDumpSaver>- Throws:
Exception
-
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<ThreadDumpSaver>
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<ThreadDumpSaver>
-
-