public class

GenericPropertiesContextLoader

extends AbstractGenericContextLoader
java.lang.Object
   ↳ org.springframework.test.context.support.AbstractContextLoader
     ↳ org.springframework.test.context.support.AbstractGenericContextLoader
       ↳ org.springframework.test.context.support.GenericPropertiesContextLoader

Class Overview

Concrete implementation of AbstractGenericContextLoader which reads bean definitions from Java Properties resources.

Summary

[Expand]
Inherited Fields
From class org.springframework.test.context.support.AbstractGenericContextLoader
Public Constructors
GenericPropertiesContextLoader()
Public Methods
String getResourceSuffix()
Returns "-context.properties".
Protected Methods
BeanDefinitionReader createBeanDefinitionReader(GenericApplicationContext context)
[Expand]
Inherited Methods
From class org.springframework.test.context.support.AbstractGenericContextLoader
From class org.springframework.test.context.support.AbstractContextLoader
From class java.lang.Object
From interface org.springframework.test.context.ContextLoader

Public Constructors

public GenericPropertiesContextLoader ()

Public Methods

public String getResourceSuffix ()

Returns "-context.properties".

Returns
  • the resource suffix; should not be null or empty

Protected Methods

protected BeanDefinitionReader createBeanDefinitionReader (GenericApplicationContext context)

Parameters
context the context for which the BeanDefinitionReader should be created
Returns
  • a new PropertiesBeanDefinitionReader.