JBoss.orgCommunity Documentation
You must use the following target component to use the plugin in this configuration:
<target-component>org.exoplatform.services.scheduler.JobSchedulerService</target-component>
The configuration is applied in extension/webapp/src/main/webapp/WEB-INF/cs-extension/cs/cs-configuration.xml.
<component-plugin>
<name>PopupRecordsJob</name>
<set-method>addPeriodJob</set-method>
<type>org.exoplatform.calendar.service.PopupReminderPeriodJob</type>
<description>add popup reminder job to the JobSchedulerService</description>
<init-params>
<properties-param>
<name>job.info</name>
<description>save the monitor data periodically</description>
<property name="jobName" value="PopupReminderJob"/>
<property name="groupName" value="CollaborationSuite"/>
<property name="job" value="org.exoplatform.calendar.service.PopupReminderJob"/>
<property name="repeatCount" value="0"/>
<property name="period" value="6000"/>
<property name="startTime" value="+0"/>
<property name="endTime" value=""/>
</properties-param>
<properties-param>
<name>popupreminder.info</name>
<description>save the monitor data periodically</description>
<property name="portalName" value="portal"/>
</properties-param>
</init-params>
</component-plugin>
Details:
Name: PopupRecordsJob
- The name of the job.
Set-method: addPeriodJob
- The plugin registering method.
Type: org.exoplatform.calendar.service.PopupReminderPeriodJob
- The class which executes to transfer the data into database of Job Scheduler.
Description: Add popup reminder job to the JobSchedulerService.
See details about the init-params of the component in the following table:
Properties-param: job.info. This param saves the monitor data periodically and includes the following sub-params:
Properties-param | Description | Property names | Description | Possible values | Default values |
---|---|---|---|---|---|
job.info | Save the monitor data periodically. |
jobName
| The name of job. |
String
|
PopupReminderJob
|
groupName
| The name of group job. |
String
|
CollaborationSuite
| ||
job
| The name of actual job class. |
Class path
|
org.exoplatform.calendar.service.PopupReminderJob
| ||
repeatCount
| How many times to run this job. |
Long
|
0, ( use '0' which means 'run forever)
| ||
period
| The time interval (millisecond) between job executions. |
Long
|
6000
| ||
startTime
| The time when the job starts running. |
Long
|
+0
| ||
endTime
| The time when the job ends running. |
Integer
|
None
| ||
popupreminder.info | Save the monitor data periodically. |
portalName
| The name of the portal. |
String
|
portal
|