mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Javadoc changes after IMAP example change
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15063 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -38,7 +38,7 @@ import java.util.TreeSet;
|
|||||||
|
|
||||||
import org.alfresco.config.JBossEnabledResourcePatternResolver;
|
import org.alfresco.config.JBossEnabledResourcePatternResolver;
|
||||||
import org.alfresco.config.JndiPropertiesFactoryBean;
|
import org.alfresco.config.JndiPropertiesFactoryBean;
|
||||||
import org.alfresco.repo.imap.config.ImapConfigBean;
|
import org.alfresco.util.config.RepositoryPathConfigBean;
|
||||||
import org.apache.commons.logging.Log;
|
import org.apache.commons.logging.Log;
|
||||||
import org.apache.commons.logging.LogFactory;
|
import org.apache.commons.logging.LogFactory;
|
||||||
import org.springframework.beans.BeansException;
|
import org.springframework.beans.BeansException;
|
||||||
@@ -83,35 +83,37 @@ import org.springframework.core.io.support.ResourcePatternResolver;
|
|||||||
* <p>
|
* <p>
|
||||||
* Composite property settings are best controlled either through a JMX console (Enterprise edition only) or
|
* Composite property settings are best controlled either through a JMX console (Enterprise edition only) or
|
||||||
* /alfresco-global.properties in the classpath (the replacement to /alfresco/extension/custom-repository.properties).
|
* /alfresco-global.properties in the classpath (the replacement to /alfresco/extension/custom-repository.properties).
|
||||||
* For example, suppose "imap.server.mountPoints" was registered as a composite property of type {@link ImapConfigBean}.
|
* For example, suppose "imap.server.mountPoints" was registered as a composite property of type {@link RepositoryPathConfigBean}.
|
||||||
* You can then use the property to configure a list of {@link ImapConfigBean}s. First you specify in the property's
|
* You can then use the property to configure a list of {@link RepositoryPathConfigBean}s. First you specify in the property's
|
||||||
* value a list of zero or more 'instance names'. Each name must be unique within the property.
|
* value a list of zero or more 'instance names'. Each name must be unique within the property.
|
||||||
* <p>
|
* <p>
|
||||||
* <code>imap.server.mountPoints=Repository_virtual,Repository_archive</code>
|
* <code>imap.server.mountPoints=Repository_virtual,Repository_archive</code>
|
||||||
* <p>
|
* <p>
|
||||||
* Then, by magic you have two separate instances of {@link ImapConfigBean} whose properties you can address through an
|
* Then, by magic you have two separate instances of {@link RepositoryPathConfigBean} whose properties you can address through an
|
||||||
* extended set of properties prefixed by "imap.server.mountPoints".
|
* extended set of properties prefixed by "imap.server.mountPoints".
|
||||||
* <p>
|
* <p>
|
||||||
* To set a property on one of the instances, you append ".value.<instance name>.<bean property name>" to the
|
* To set a property on one of the instances, you append ".value.<instance name>.<bean property name>" to the
|
||||||
* parent property name. For example:
|
* parent property name. For example:
|
||||||
* <p>
|
* <p>
|
||||||
* <code>imap.server.mountPoints.value.Repository_virtual.mode=virtual</code>
|
* <code>imap.server.mountPoints.value.Repository_virtual.store=${spaces.store}</code><br/>
|
||||||
|
* <code>imap.server.mountPoints.value.Repository_virtual.path=/${spaces.company_home.childname}</code>
|
||||||
* <p>
|
* <p>
|
||||||
* To specify a default value for a property on all instances of the bean, you append ".default.<bean property name>"
|
* To specify a default value for a property on all instances of the bean, you append ".default.<bean property name>"
|
||||||
* to the parent property name. For example:
|
* to the parent property name. For example:
|
||||||
* <p>
|
* <p>
|
||||||
* <code>imap.server.mountPoints.default.store=${spaces.store}</code>
|
* <code>imap.server.mountPoints.default.store=${spaces.store}</code><br/>
|
||||||
|
* <code>imap.server.mountPoints.default.path=/${spaces.company_home.childname}</code>
|
||||||
* <p>
|
* <p>
|
||||||
* Note that it's perfectly valid to use placeholders in property values that will be resolved from other global
|
* Note that it's perfectly valid to use placeholders in property values that will be resolved from other global
|
||||||
* properties.
|
* properties.
|
||||||
* <p>
|
* <p>
|
||||||
* In order to actually utilize this configurable list of beans in your child application context, you simply need to
|
* In order to actually utilize this configurable list of beans in your child application context, you simply need to
|
||||||
* declare a {@link ListFactoryBean} whose ID is the same name as the property. For example:
|
* declare a {@link ListFactoryBean} whose ID is the same name as the property. For example:
|
||||||
*
|
|
||||||
* <pre>
|
* <pre>
|
||||||
* <bean id="imap.server.mountPoints" class="org.springframework.beans.factory.config.ListFactoryBean">
|
* <bean id="imap.server.mountPoints" class="org.springframework.beans.factory.config.ListFactoryBean">
|
||||||
* <property name="sourceList">
|
* <property name="sourceList">
|
||||||
* <!-- Whatever you declare in here will get replaced by the property value list -->
|
* <!-- Whatever you declare in here will get replaced by the property value list -->
|
||||||
|
* <!-- This property is not actually required at all -->
|
||||||
* </property>
|
* </property>
|
||||||
* </bean>
|
* </bean>
|
||||||
* </pre>
|
* </pre>
|
||||||
|
Reference in New Issue
Block a user