org.apache.struts2.showcase.application
Class TestDataProvider

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

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

TestDataProvider.

See Also:
Serialized Form

Field Summary
static java.lang.String[] LEVELS
           
static java.lang.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 java.lang.String[] POSITIONS

LEVELS

public static final java.lang.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 java.lang.Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
java.lang.Exception


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