svn commit: r1027499 - in /lenya/trunk/org.apache.lenya.core.acusecases/src/main/resources/META-INF/cocoon/spring: lenya-core-acusecases-components.xml lenya-core-acusecases-module-registration.xml
[email protected] Tue, 26 Oct 2010 12:22:19 -0000
| Newsgroups | gmane.comp.cms.lenya.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: florent
Date: Tue Oct 26 12:22:19 2010
New Revision: 1027499
URL: http://svn.apache.org/viewvc?rev=1027499&view=rev
Log:
Extract the module registration for structure and visibility gain
Added:
lenya/trunk/org.apache.lenya.core.acusecases/src/main/resources/META-INF/cocoon/spring/lenya-core-acusecases-module-registration.xml
Modified:
lenya/trunk/org.apache.lenya.core.acusecases/src/main/resources/META-INF/cocoon/spring/lenya-core-acusecases-components.xml
Modified: lenya/trunk/org.apache.lenya.core.acusecases/src/main/resources/META-INF/cocoon/spring/lenya-core-acusecases-components.xml
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.acusecases/src/main/resources/META-INF/cocoon/spring/lenya-core-acusecases-components.xml?rev=1027499&r1=1027498&r2=1027499&view=diff
==============================================================================
--- lenya/trunk/org.apache.lenya.core.acusecases/src/main/resources/META-INF/cocoon/spring/lenya-core-acusecases-components.xml (original)
+++ lenya/trunk/org.apache.lenya.core.acusecases/src/main/resources/META-INF/cocoon/spring/lenya-core-acusecases-components.xml Tue Oct 26 12:22:19 2010
@@ -21,13 +21,8 @@
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://cocoon.apache.org/schema/configurator http://cocoon.apache.org/schema/configurator/cocoon-configurator-1.0.1.xsd">
- <bean name="org.apache.lenya.cms.module.Module/acusecases"
- class="org.apache.lenya.cms.module.ModuleImpl">
- <property name="baseUri" value="file://${lenya.home}/org.apache.lenya.core.acusecases/target/classes/COB-INF"/>
- </bean>
-
<bean name="org.apache.lenya.cms.usecase.Usecase/ac.login"
- class="org.apache.lenya.cms.ac.usecases.Login" scope="prototype" init-method="initialize">
+ class="org.apache.lenya.cms.ac.usecases.Login" scope="session" init-method="initialize">
<property name="repository" ref="org.apache.lenya.cms.publication.Repository"/>
<property name="accessControllerResolver" ref="org.apache.lenya.ac.AccessControllerResolver"/>
<property name="view">
Added: lenya/trunk/org.apache.lenya.core.acusecases/src/main/resources/META-INF/cocoon/spring/lenya-core-acusecases-module-registration.xml
URL: http://svn.apache.org/viewvc/lenya/trunk/org.apache.lenya.core.acusecases/src/main/resources/META-INF/cocoon/spring/lenya-core-acusecases-module-registration.xml?rev=1027499&view=auto
==============================================================================
--- lenya/trunk/org.apache.lenya.core.acusecases/src/main/resources/META-INF/cocoon/spring/lenya-core-acusecases-module-registration.xml (added)
+++ lenya/trunk/org.apache.lenya.core.acusecases/src/main/resources/META-INF/cocoon/spring/lenya-core-acusecases-module-registration.xml Tue Oct 26 12:22:19 2010
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:configurator="http://cocoon.apache.org/schema/configurator"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
+ http://cocoon.apache.org/schema/configurator http://cocoon.apache.org/schema/configurator/cocoon-configurator-1.0.1.xsd">
+
+ <bean name="org.apache.lenya.cms.module.Module/acusecases"
+ class="org.apache.lenya.cms.module.ModuleImpl">
+ <property name="baseUri" value="file://${lenya.home}/org.apache.lenya.core.acusecases/target/classes/COB-INF"/>
+ </bean>
+
+</beans>