Package org.citrusframework.report
Class TestActionListenersFactory
java.lang.Object
org.citrusframework.report.TestActionListenersFactory
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.FactoryBean<TestActionListeners>,org.springframework.context.ApplicationContextAware
public class TestActionListenersFactory
extends Object
implements org.springframework.beans.factory.FactoryBean<TestActionListeners>, org.springframework.context.ApplicationContextAware
Factory bean automatically adds all test action listeners that live in the Spring bean application context.
- Author:
- Christoph Deppisch
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.TestActionListenersFactory(TestActionListeners listeners) Constructor initializes with given listeners. -
Method Summary
Modifier and TypeMethodDescriptionClass<?>booleanvoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Constructor Details
-
TestActionListenersFactory
public TestActionListenersFactory()Default constructor. -
TestActionListenersFactory
Constructor initializes with given listeners.- Parameters:
listeners-
-
-
Method Details
-
getObject
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<TestActionListeners>- Throws:
Exception
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<TestActionListeners>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<TestActionListeners>
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-