public class ESalesIngestor extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) AccountDAO |
accountDAO |
(package private) InputStream |
is |
private static org.apache.commons.logging.Log |
log |
(package private) ESalesParser |
parser |
| Constructor and Description |
|---|
ESalesIngestor() |
| Modifier and Type | Method and Description |
|---|---|
private void |
createAccount(ejava.projects.esales.dto.Account accountDTO)
This method is called by the main ingest processing loop.
|
void |
ingest()
This method will ingest the input data by reading in external DTOs in
from the parser, instantiating project business objects, and inserting
into database.
|
void |
setAccountDAO(AccountDAO accountDAO) |
void |
setInputStream(InputStream is) |
private static final org.apache.commons.logging.Log log
InputStream is
AccountDAO accountDAO
ESalesParser parser
public void setInputStream(InputStream is)
public void setAccountDAO(AccountDAO accountDAO)
public void ingest()
throws JAXBException,
XMLStreamException
JAXBExceptionXMLStreamExceptionprivate void createAccount(ejava.projects.esales.dto.Account accountDTO)
accountDTO - Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.