de.phleisch.app.itsucks.job.download.impl
Class DownloadJobFactory
java.lang.Object
de.phleisch.app.itsucks.job.download.impl.DownloadJobFactory
- All Implemented Interfaces:
- org.springframework.context.ApplicationContextAware
public class DownloadJobFactory
- extends java.lang.Object
- implements org.springframework.context.ApplicationContextAware
Factory to create new Jobs.
Internally spring is used, but this factory also implements the
feature to inject dependencies into deserialized jobs and jobs
not created over spring.
- Author:
- olli
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DownloadJobFactory
public DownloadJobFactory()
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext pContext)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
createDownloadJob
public UrlDownloadJob createDownloadJob()
injectDependencies
public void injectDependencies(Job pJob)
injectDependencies
public void injectDependencies(UrlDownloadJob pDownloadJob)
Copyright © 2010. All Rights Reserved.