dice-group / Squirrel

Squirrel searches and collects Linked Data
Other
22 stars 19 forks source link

Dependency Injection merge #62

Closed gsjunior86 closed 6 years ago

gsjunior86 commented 6 years ago

Spring Dependency Injection control over the Worker. I created a new Component to start the worker that injects all the dependencies based on beans annotated in the context file. Use the WorkerComponentStarter instead of the WorkerComponent. Also, it is needed to set up the env var CONTEXT_CONFIG_FILE, pointing to the spring context file.