THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Written by: Andy Zeneski, jaz@ofbiz.org
Edited by: Les Austin, Pawel H Debski and David E. Jones
Related Documents
Service Engine Guide
Core Configuration Guide
...
Attribute Name | Required? | Description |
---|---|---|
ttl | Y | The time to live for each invoker thread. Once this time is reached the thread is destroyed. |
wait-millis | Y | Each invoker thread will sleep for this amount of time before checking for jobs to run. |
jobs | Y | The maximum number of jobs each invoker thread will run before being destroyed. |
min-threads | Y | The minimum number of invoker threads to keep around. |
max-threads | Y | The maximum number of invoker threads to create. |
poll-enabled | Y | When 'true' the scheduler will poll the database for scheduled jobs. |
poll-db-millis | Y | If polling is enabled this defined how often the poller thread runs. |
Engine Definitions
...
Each implementation of the GenericEngine
interface needs to be defined in order to be used in the service definitions. The engine
has the following attributes:
Attribute Name | Required? | Description |
---|---|---|
name | Y | The name of the service engine. This must be unique. |
class | Y | The class which implements GenericEngine |
...
Resource Loaders
...
The resource-loader
tag is used to configure a named resource loader that can be used elsewhere to load XML and other resources. It has the following attributes.
Attribute Name | Required? | Description |
---|---|---|
name | Y | The name of the resource loader. Used in other tags in the 'loader' attribute. |
class | Y | The class to use that extends the abstract class org.ofbiz.service.config.ResourceLoader. Available classes include FileLoader, UrlLoader, and ClasspathLoader, all in the same package as the ResourceLoader class. |
prepend-env | N | The name of a Java environment property to put at the very beginning of the full location, before the prefix. This is optional. |
prefix | N | A string to put before the location when making the full location. This is optional. If used will go after the prepended environment property and before the location specified for each resource. |
...