public class TestContextFactory extends Object implements org.springframework.beans.factory.FactoryBean<TestContext>, org.springframework.context.ApplicationContextAware
FunctionRegistry
and GlobalVariables
.Constructor and Description |
---|
TestContextFactory() |
Modifier and Type | Method and Description |
---|---|
EndpointFactory |
getEndpointFactory()
Gets the endpoint factory.
|
FunctionRegistry |
getFunctionRegistry() |
GlobalVariables |
getGlobalVariables() |
MessageConstructionInterceptors |
getMessageConstructionInterceptors()
Gets the message construction interceptors.
|
MessageListeners |
getMessageListeners()
Gets the message listeners.
|
MessageValidatorRegistry |
getMessageValidatorRegistry()
Gets the message validator registry.
|
NamespaceContextBuilder |
getNamespaceContextBuilder()
Gets the namespace context builder.
|
TestContext |
getObject() |
Class |
getObjectType() |
ReferenceResolver |
getReferenceResolver()
Gets the value of the referenceResolver property.
|
TestListeners |
getTestListeners()
Gets the test listeners.
|
ValidationMatcherRegistry |
getValidationMatcherRegistry() |
boolean |
isSingleton() |
static TestContextFactory |
newInstance(org.springframework.context.ApplicationContext applicationContext)
Construct new factory instance from application context.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setEndpointFactory(EndpointFactory endpointFactory)
Sets the endpoint factory.
|
void |
setFunctionRegistry(FunctionRegistry functionRegistry) |
void |
setGlobalVariables(GlobalVariables globalVariables) |
void |
setMessageConstructionInterceptors(MessageConstructionInterceptors messageConstructionInterceptors)
Sets the message construction interceptors.
|
void |
setMessageListeners(MessageListeners messageListeners)
Sets the message listeners.
|
void |
setMessageValidatorRegistry(MessageValidatorRegistry messageValidatorRegistry)
Sets the message validator registry.
|
void |
setNamespaceContextBuilder(NamespaceContextBuilder namespaceContextBuilder)
Sets the namespace context builder.
|
void |
setReferenceResolver(ReferenceResolver referenceResolver)
Sets the referenceResolver property.
|
void |
setTestListeners(TestListeners testListeners)
Sets the test listeners.
|
void |
setValidationMatcherRegistry(ValidationMatcherRegistry validationMatcherRegistry) |
public static final TestContextFactory newInstance(org.springframework.context.ApplicationContext applicationContext)
applicationContext
- public TestContext getObject()
getObject
in interface org.springframework.beans.factory.FactoryBean<TestContext>
FactoryBean.getObject()
public Class getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<TestContext>
FactoryBean.getObjectType()
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean<TestContext>
FactoryBean.isSingleton()
public void setFunctionRegistry(FunctionRegistry functionRegistry)
functionRegistry
- the functionRegistry to setpublic FunctionRegistry getFunctionRegistry()
public void setValidationMatcherRegistry(ValidationMatcherRegistry validationMatcherRegistry)
validationMatcherRegistry
- the validationMatcherRegistry to setpublic ValidationMatcherRegistry getValidationMatcherRegistry()
public void setGlobalVariables(GlobalVariables globalVariables)
globalVariables
- the globalVariables to setpublic GlobalVariables getGlobalVariables()
public EndpointFactory getEndpointFactory()
public void setEndpointFactory(EndpointFactory endpointFactory)
endpointFactory
- public ReferenceResolver getReferenceResolver()
public void setReferenceResolver(ReferenceResolver referenceResolver)
referenceResolver
- public void setNamespaceContextBuilder(NamespaceContextBuilder namespaceContextBuilder)
namespaceContextBuilder
- public NamespaceContextBuilder getNamespaceContextBuilder()
public void setTestListeners(TestListeners testListeners)
testListeners
- public TestListeners getTestListeners()
public void setMessageValidatorRegistry(MessageValidatorRegistry messageValidatorRegistry)
messageValidatorRegistry
- public MessageValidatorRegistry getMessageValidatorRegistry()
public void setMessageListeners(MessageListeners messageListeners)
messageListeners
- public MessageListeners getMessageListeners()
public void setMessageConstructionInterceptors(MessageConstructionInterceptors messageConstructionInterceptors)
messageConstructionInterceptors
- public MessageConstructionInterceptors getMessageConstructionInterceptors()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
Copyright © 2008–2017 ConSol Software GmbH. All rights reserved.