PropertySynchronizer

PropertySynchronizer bean attributes

A PropertySynchronizer is created using a Spring bean with the following attributes:

Attribute Value Description
id User-defined A unique ID for the bean.
parent alfresco.node.propertySynchronizer.abstract The parent bean.
depends-on id of the related AlfrescoContentModelLoader bean The bean dependencies.

PropertySynchronizer bean properties

The PropertySynchronizer bean takes the following properties:

Property Type Mandatory Description
properties Collection <QName> Required Collection of QNames identifying properties. Use a fully-qualified name with Clark notation as the key of the entry.

PropertySynchronizer bean example

<bean id="samples.ts.propertySynchronizer.description" parent="alfresco.node.propertySynchronizer.abstract" depends-on="samples.ts.model">
  <property name="properties">
    <list>
      <value>{http://www.componize.com/model/samples/troubleshooting/1.0/}shortdesc</value>
      <value>{http://www.alfresco.org/model/content/1.0}description</value>
    </list>
  </property>
</bean>

Debugging

To debug your PropertySynchronizer, add the following entry to your log4j.properties file:

log4j.logger.com.componize.alfresco.repo.node.DefaultPropertySynchronizerRegistry=trace