Class AbstractJob
java.lang.Object
org.openurp.edu.grade.plan.service.AbstractJob
- Direct Known Subclasses:
AutoBatchAuditor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.beangle.commons.dao.EntityDaoprotected final org.slf4j.Loggerprotected org.hibernate.SessionFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidfinal voidexecute()voidsetEntityDao(org.beangle.commons.dao.EntityDao entityDao) voidsetSessionFactory(org.hibernate.SessionFactory sessionFactory)
-
Field Details
-
logger
protected final org.slf4j.Logger logger -
sessionFactory
protected org.hibernate.SessionFactory sessionFactory -
entityDao
protected org.beangle.commons.dao.EntityDao entityDao
-
-
Constructor Details
-
AbstractJob
public AbstractJob()
-
-
Method Details
-
setSessionFactory
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory) -
setEntityDao
public void setEntityDao(org.beangle.commons.dao.EntityDao entityDao) -
execute
public final void execute() -
doExecute
protected abstract void doExecute()
-