org.mockcentral.server
Class MockDataLoader

java.lang.Object
  extended by org.mockcentral.server.MockDataLoader

public class MockDataLoader
extends java.lang.Object

A class that uses the org.apache.commons.digester.Digester to load data from configuration files, creating Fixture instances, simple (non-Mock) JNDI-bound Objects, and Mock and Proxy Objects.

Author:
David Hutchinson
See Also:
org.apache.commons.digester

Constructor Summary
MockDataLoader()
           
 
Method Summary
 void parseData(java.io.InputStream input)
          Parses the configuration file, creating Fixture instances, simple (non-Mock) JNDI-bound Objects, and Mock and Proxy Objects using the Commons Digester.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockDataLoader

public MockDataLoader()
Method Detail

parseData

public void parseData(java.io.InputStream input)
               throws MockCentralServerException
Parses the configuration file, creating Fixture instances, simple (non-Mock) JNDI-bound Objects, and Mock and Proxy Objects using the Commons Digester.

Throws:
MockCentralServerException - if the file could not be parsed sucessfully.