org.apache.struts2.showcase.application
Class TestDataProvider

java.lang.Object
  extended by org.apache.struts2.showcase.application.TestDataProvider
All Implemented Interfaces:
Serializable, org.springframework.beans.factory.InitializingBean

public class TestDataProvider
extends Object
implements Serializable, org.springframework.beans.factory.InitializingBean

TestDataProvider.

See Also:
Serialized Form

Field Summary
static String[] LEVELS
           
static String[] POSITIONS
           
static Employee[] TEST_EMPLOYEES
           
 
Constructor Summary
TestDataProvider()
           
 
Method Summary
protected  void addTestData()
           
protected  void addTestEmployees()
           
protected  void addTestSkills()
           
 void afterPropertiesSet()
           
 void setEmployeeDao(EmployeeDao employeeDao)
           
 void setSkillDao(SkillDao skillDao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POSITIONS

public static final String[] POSITIONS

LEVELS

public static final String[] LEVELS

TEST_EMPLOYEES

public static final Employee[] TEST_EMPLOYEES
Constructor Detail

TestDataProvider

public TestDataProvider()
Method Detail

setSkillDao

public void setSkillDao(SkillDao skillDao)

setEmployeeDao

public void setEmployeeDao(EmployeeDao employeeDao)

addTestSkills

protected void addTestSkills()

addTestEmployees

protected void addTestEmployees()

addTestData

protected void addTestData()

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.