Package ejava.projects.esales.blimpl
Class AccountMgmtCommand
- java.lang.Object
-
- ejava.projects.esales.blimpl.ESalesIngestCommand
-
- ejava.projects.esales.blimpl.AccountMgmtCommand
-
public class AccountMgmtCommand extends ESalesIngestCommand
-
-
Constructor Summary
Constructors Constructor Description AccountMgmtCommand()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static EntityManagerFactorygetEMF()private static voidinvoke(AccountMgmt accountMgmt)private static voidlistAccounts(AccountMgmt accountMgmt)static voidmain(String[] args)
-
-
-
Field Detail
-
log
private static final org.slf4j.Logger log
-
command
private static String command
-
indexStr
private static String indexStr
-
countStr
private static String countStr
-
out
private static PrintStream out
-
-
Method Detail
-
getEMF
private static EntityManagerFactory getEMF()
-
invoke
private static void invoke(AccountMgmt accountMgmt) throws Exception
- Throws:
Exception
-
listAccounts
private static void listAccounts(AccountMgmt accountMgmt) throws Exception
- Throws:
Exception
-
main
public static void main(String[] args)
-
-