Package com.consol.citrus.report
Class TestSuiteListenersFactory
- java.lang.Object
-
- com.consol.citrus.report.TestSuiteListenersFactory
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.FactoryBean<com.consol.citrus.report.TestSuiteListeners>
,org.springframework.context.ApplicationContextAware
public class TestSuiteListenersFactory extends Object implements org.springframework.beans.factory.FactoryBean<com.consol.citrus.report.TestSuiteListeners>, org.springframework.context.ApplicationContextAware
Factory bean automatically adds all test suite listeners that live in the Spring bean application context.- Author:
- Christoph Deppisch
-
-
Constructor Summary
Constructors Constructor Description TestSuiteListenersFactory()
Default constructor.TestSuiteListenersFactory(com.consol.citrus.report.TestSuiteListeners listeners)
Constructor initializes with given listeners.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.consol.citrus.report.TestSuiteListeners
getObject()
Class<?>
getObjectType()
boolean
isSingleton()
void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
-
-
Method Detail
-
getObject
public com.consol.citrus.report.TestSuiteListeners getObject() throws Exception
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean<com.consol.citrus.report.TestSuiteListeners>
- Throws:
Exception
-
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<com.consol.citrus.report.TestSuiteListeners>
-
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interfaceorg.springframework.beans.factory.FactoryBean<com.consol.citrus.report.TestSuiteListeners>
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
-