JBoss.orgCommunity Documentation
When the server starts, the jcr-configuration.xml file is initialized. The component-plugin named addConfig will be referred to org.exoplatform.services.jcr.impl.config.RepositoryServiceConfigurationPlugin to load the war:/ks-extension/jcr/repository-configuration.xml_ file.
<component-plugin>
<!-- The name of the plugin -->
<name>Sample RepositoryServiceConfiguration Plugin</name>
<!-- The name of the method to call on the RepositoryServiceConfiguration
in order to add the RepositoryServiceConfigurations -->
<set-method>addConfig</set-method>
<!-- The full qualified name of the RepositoryServiceConfigurationPlugin -->
<type>org.exoplatform.services.jcr.impl.config.RepositoryServiceConfigurationPlugin</type>
<init-params>
<value-param>
<name>conf-path</name>
<description>JCR configuration file</description>
<value>war:/ks-extension/jcr/repository-configuration.xml</value>
</value-param>
</init-params>
</component-plugin>
In which:
Name | Set-method | Type | Description |
---|---|---|---|
RepositoryService ConfigurationPlugin | addConfig | org.exoplatform.services. jcr.impl.config.Repository ServiceConfigurationPlugin | Read the configuration of JCR data to initialize data. |
Init-params
Name | Possible value | Default value | Description |
---|---|---|---|
conf-path | string | war:/ks-extension/jcr/ repository- configuration.xml | The path to the repository-configuration.xml file. |