Return-Path: Delivered-To: apmail-cocoon-cvs-archive@www.apache.org Received: (qmail 72666 invoked from network); 26 Dec 2003 18:41:40 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 26 Dec 2003 18:41:40 -0000 Received: (qmail 70274 invoked by uid 500); 26 Dec 2003 18:41:31 -0000 Delivered-To: apmail-cocoon-cvs-archive@cocoon.apache.org Received: (qmail 70214 invoked by uid 500); 26 Dec 2003 18:41:31 -0000 Mailing-List: contact cvs-help@cocoon.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@cocoon.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@cocoon.apache.org Received: (qmail 70203 invoked by uid 500); 26 Dec 2003 18:41:31 -0000 Delivered-To: apmail-cocoon-2.2-cvs@apache.org Received: (qmail 70199 invoked from network); 26 Dec 2003 18:41:31 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 26 Dec 2003 18:41:31 -0000 Received: (qmail 72649 invoked by uid 1758); 26 Dec 2003 18:41:39 -0000 Date: 26 Dec 2003 18:41:39 -0000 Message-ID: <20031226184139.72648.qmail@minotaur.apache.org> From: unico@apache.org To: cocoon-2.2-cvs@apache.org Subject: cvs commit: cocoon-2.2/src/java/org/apache/cocoon cocoon.roles X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N unico 2003/12/26 10:41:39 Modified: src/java/org/apache/cocoon/bean CocoonBean.java tools/targets ide-build.xml src/java/org/apache/cocoon cocoon.roles Log: role management seems to be inevitable for now. For instance, excalibur xmlutils do not have Fortress meta info yet. Fortress' role management support uses a different role file format. Revision Changes Path 1.42 +4 -1 cocoon-2.2/src/java/org/apache/cocoon/bean/CocoonBean.java Index: CocoonBean.java =================================================================== RCS file: /home/cvs/cocoon-2.2/src/java/org/apache/cocoon/bean/CocoonBean.java,v retrieving revision 1.41 retrieving revision 1.42 diff -u -r1.41 -r1.42 --- CocoonBean.java 22 Oct 2003 17:38:16 -0000 1.41 +++ CocoonBean.java 26 Dec 2003 18:41:38 -0000 1.42 @@ -84,6 +84,7 @@ private String m_logConfigURI = m_contextURI + File.separator + "cocoon.xlog"; private String m_logCategory = "cocoon"; private String m_configURI = Constants.DEFAULT_CONF_FILE; + private String m_roleConfigURI = "resource://org/apache/cocoon/cocoon.roles"; private List m_classForceLoadList = new ArrayList(); private String m_classPath = System.getProperty( "java.class.path" ); private int m_threadsPerCPU = 1; @@ -299,7 +300,8 @@ m_confBuilder.setContextClassLoader( m_parentClassLoader ); m_confBuilder.setCommandFailureHandlerClass( CocoonCommandFailureHandler.class ); m_confBuilder.setContainerClass(CocoonContainer.class); - + m_confBuilder.setRoleManagerConfiguration(m_roleConfigURI); + m_confBuilder.setLifecycleExtensionManager( getLifecycleExtensionManager() ); DefaultContext initContext = new DefaultContext( m_confBuilder.getContext() ); @@ -359,4 +361,5 @@ dispose(); super.finalize(); } + } 1.6 +1 -0 cocoon-2.2/tools/targets/ide-build.xml Index: ide-build.xml =================================================================== RCS file: /home/cvs/cocoon-2.2/tools/targets/ide-build.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- ide-build.xml 26 Dec 2003 13:20:21 -0000 1.5 +++ ide-build.xml 26 Dec 2003 18:41:38 -0000 1.6 @@ -124,6 +124,7 @@ + 1.13 +100 -66 cocoon-2.2/src/java/org/apache/cocoon/cocoon.roles Index: cocoon.roles =================================================================== RCS file: /home/cvs/cocoon-2.2/src/java/org/apache/cocoon/cocoon.roles,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- cocoon.roles 21 Oct 2003 13:48:31 -0000 1.12 +++ cocoon.roles 26 Dec 2003 18:41:39 -0000 1.13 @@ -1,35 +1,34 @@ - - - - + + + ]> - + + - - - - + + + - - - - + + + - - + + + + + + - - - + + + + + + + + + + + - - - - - - - + + + + + + + + + + + + + + + + - - @@ -147,7 +188,6 @@ shorthand="cache" default-class="org.apache.cocoon.caching.impl.CacheImpl"/> - @@ -156,7 +196,6 @@ shorthand="continuations-manager" default-class="org.apache.cocoon.components.flow.ContinuationsManagerImpl" /> - @@ -165,13 +204,8 @@ shorthand="output-modules" default-class="org.apache.avalon.excalibur.component.ExcaliburComponentSelector"/> - - - - + -->