Renamed TransactionComponent to TransactionServiceImpl

Fixed naming convention to be 'transactionService', 'TransactionService', but kept an alias 'transactionComponent'.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5905 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2007-06-11 10:10:38 +00:00
parent 23cf6181e6
commit cc948d8c39
21 changed files with 149 additions and 48 deletions

View File

@@ -25,7 +25,7 @@
<bean id="asynchronousActionExecutionQueue" class="org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl">
<property name="transactionService">
<ref bean="transactionComponent"/>
<ref bean="transactionService"/>
</property>
<property name="authenticationComponent">
<ref bean="AuthenticationComponent"/>

View File

@@ -11,7 +11,7 @@
<value>node</value>
</property>
<property name="transactionService">
<ref bean="transactionComponent"/>
<ref bean="transactionService"/>
</property>
</bean>
@@ -20,7 +20,7 @@
<value>layer</value>
</property>
<property name="transactionService">
<ref bean="transactionComponent"/>
<ref bean="transactionService"/>
</property>
</bean>
@@ -171,7 +171,7 @@
<value>1000</value>
</property>
<property name="transactionService">
<ref bean="transactionComponent"/>
<ref bean="transactionService"/>
</property>
<property name="sessionFactory">
<ref bean="sessionFactory"/>

View File

@@ -254,7 +254,7 @@
<ref bean="systemBootstrap"/>
</property>
<property name="transactionService">
<ref bean="transactionComponent"/>
<ref bean="transactionService"/>
</property>
<property name="namespaceService">
<ref bean="namespaceService"/>
@@ -296,7 +296,7 @@
</property>
<!-- helper beans -->
<property name="transactionService">
<ref bean="transactionComponent"/>
<ref bean="transactionService"/>
</property>
<property name="systemBootstrap">
<ref bean="systemBootstrap"/>
@@ -319,7 +319,7 @@
<bean id="patchExecuter" class="org.alfresco.repo.admin.patch.PatchExecuter">
<property name="transactionService">
<ref bean="transactionComponent" />
<ref bean="transactionService" />
</property>
<property name="patchService">
<ref bean="PatchService" />

View File

@@ -33,7 +33,7 @@
<ref bean="avmNodeDAO"/>
</property>
<property name="transactionService" >
<ref bean="transactionComponent" />
<ref bean="transactionService" />
</property>
<property name="protectDays" >
<value>14</value>
@@ -52,7 +52,7 @@
<bean id="contentService" class="org.alfresco.repo.content.RoutingContentService" init-method="init">
<property name="transactionService">
<ref bean="transactionComponent" />
<ref bean="transactionService" />
</property>
<property name="retryingTransactionHelper">
<ref bean="retryingTransactionHelper"/>

View File

@@ -145,7 +145,8 @@
</bean>
<!-- transaction service -->
<bean id="transactionComponent" class="org.alfresco.repo.transaction.TransactionComponent">
<alias name="transactionService" alias="transactionComponent"/>
<bean id="transactionService" class="org.alfresco.repo.transaction.TransactionServiceImpl">
<property name="transactionManager">
<ref bean="transactionManager" />
</property>
@@ -156,10 +157,10 @@
<bean id="retryingTransactionHelper" class="org.alfresco.repo.transaction.RetryingTransactionHelper">
<property name="transactionService">
<ref bean="transactionComponent"/>
<ref bean="transactionService"/>
</property>
<property name="maxRetries">
<value>20</value>
<value>${server.transaction.max-retries}</value>
</property>
</bean>
@@ -654,7 +655,7 @@
<ref bean="searchService"/>
</property>
<property name="transactionService">
<ref bean="transactionComponent"/>
<ref bean="transactionService"/>
</property>
<property name="authenticationComponent">
<ref bean="authenticationComponent"/>
@@ -776,7 +777,7 @@
<bean id="luceneIndexBackupComponent"
class="org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$LuceneIndexBackupComponent">
<property name="transactionService">
<ref bean="transactionComponent" />
<ref bean="transactionService" />
</property>
<property name="factories">
<set>

View File

@@ -7,3 +7,5 @@ server.transaction.mode.readOnly=PROPAGATION_REQUIRED, readOnly
#server.transaction.allow-writes=false
server.transaction.mode.default=PROPAGATION_REQUIRED
server.transaction.allow-writes=true
server.transaction.max-retries=20

View File

@@ -181,7 +181,7 @@
<bean id="systemInfoImporter" class="org.alfresco.repo.importer.system.SystemInfoBootstrap" abstract="true">
<property name="transactionService">
<ref bean="transactionComponent"/>
<ref bean="transactionService"/>
</property>
<property name="nodeService">
<ref bean="nodeService"/>
@@ -203,7 +203,7 @@
<bean id="storeImporter" class="org.alfresco.repo.importer.ImporterBootstrap" abstract="true">
<property name="transactionService">
<ref bean="transactionComponent"/>
<ref bean="transactionService"/>
</property>
<property name="nodeService">
<ref bean="nodeService"/>

View File

@@ -7,8 +7,8 @@
<property name="authenticationComponent">
<ref bean="authenticationComponent" />
</property>
<property name="transactionComponent">
<ref bean="transactionComponent" />
<property name="transactionService">
<ref bean="transactionService" />
</property>
<property name="indexer">
<ref bean="indexerComponent" />

View File

@@ -38,7 +38,7 @@
<ref bean="personService"/>
</property>
<property name="transactionService">
<ref bean="transactionComponent"/>
<ref bean="transactionService"/>
</property>
<property name="diskInterface">
<ref bean="contentDiskDriver"/>
@@ -53,7 +53,7 @@
<constructor-arg>
<ref bean="cifsHelper" />
</constructor-arg>
<property name="transactionService"><ref bean="transactionComponent" /></property>
<property name="transactionService"><ref bean="transactionService" /></property>
<property name="nodeService"><ref bean="NodeService" /></property>
<property name="searchService"><ref bean="SearchService" /></property>
<property name="namespaceService"><ref bean="namespaceService" /></property>
@@ -78,7 +78,7 @@
<!-- AVM Filesystem Interface -->
<bean id="avmDiskDriver" class="org.alfresco.filesys.avm.AVMDiskDriver" >
<property name="avmService"><ref bean="indexingAVMService" /></property>
<property name="transactionService"><ref bean="transactionComponent" /></property>
<property name="transactionService"><ref bean="transactionService" /></property>
<property name="authenticationComponent"><ref bean="authenticationComponent"/></property>
<property name="authenticationService"><ref bean="authenticationService"/></property>
<property name="mimetypeService"><ref bean="mimetypeService" /></property>

View File

@@ -63,7 +63,7 @@
<ref bean="SearchService"/>
</property>
<property name="transactionService">
<ref bean="transactionComponent"/>
<ref bean="transactionService"/>
</property>
</bean>

View File

@@ -51,7 +51,7 @@
<ref bean="patchComponent" />
</property>
<property name="transactionService">
<ref bean="transactionComponent" />
<ref bean="transactionService" />
</property>
<property name="namespaceService">
<ref bean="namespaceService" />

View File

@@ -8,7 +8,7 @@
<!-- -->
<bean id="workflowDeployer" class="org.alfresco.repo.workflow.WorkflowDeployer" abstract="true">
<property name="transactionService" ref="transactionComponent"/>
<property name="transactionService" ref="transactionService"/>
<property name="authenticationComponent" ref="authenticationComponent" />
<property name="workflowService" ref="WorkflowService" />
<property name="dictionaryDAO" ref="dictionaryDAO"/>
@@ -36,7 +36,7 @@
<property name="namespaceService" ref="namespaceService"/>
<property name="personService" ref="PersonService"/>
<property name="authorityDAO" ref="authorityDAO"/>
<property name="transactionService" ref="transactionComponent"/>
<property name="transactionService" ref="transactionService"/>
<property name="fileFolderService" ref="FileFolderService"/>
</bean>