JBoss.orgCommunity Documentation
The Initial Data plugin is configured in the services-configuration.xml file. In details, at runtime of Forum Service, the Initialization plugin component is called, the services-configuration.xml file will be executed. The component-plugin named addInitialDataPlugin will refer to org.exoplatform.forum.service.conf.ForumInitialDataPlugin to import some objects to create data for the Forum service. The default data in the .zip or .xml file is initialized as follows:
<component-plugin>
<name>technical.forum</name>
<set-method>addInitialDataPlugin</set-method>
<type>org.exoplatform.forum.service.conf.ForumInitialDataPlugin</type>
<description>Initialize</description>
<init-params>
<values-param>
<name>locations</name>
<description>location where Forum export format file is stored</description>
<value>war:/data/forum/data-full-forum.zip</value>
<!-- value>war:/data/forum/forumCategory.xml</value -->
</values-param>
</init-params>
</component-plugin>
In which:
Name | Set-Method | Type | Description |
---|---|---|---|
technical.forum | addInitialDataPlugin | org.exoplatform.forum.service.conf.ForumInitialDataPlugin | Initialize the data plugin. |
Init-params
Name | Possible values | Default value | Description |
---|---|---|---|
locations | String | war:/data/forum/data-full-forum.zip | The location where the Forum export format file is stored. |