Return-Path: Delivered-To: apmail-geronimo-xbean-scm-archive@minotaur.apache.org Received: (qmail 69316 invoked from network); 13 May 2010 17:30:32 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 May 2010 17:30:32 -0000 Received: (qmail 48062 invoked by uid 500); 13 May 2010 17:30:32 -0000 Delivered-To: apmail-geronimo-xbean-scm-archive@geronimo.apache.org Received: (qmail 48035 invoked by uid 500); 13 May 2010 17:30:32 -0000 Mailing-List: contact xbean-scm-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: xbean-scm@geronimo.apache.org Delivered-To: mailing list xbean-scm@geronimo.apache.org Received: (qmail 48028 invoked by uid 99); 13 May 2010 17:30:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 May 2010 17:30:31 +0000 X-ASF-Spam-Status: No, hits=-1997.0 required=10.0 tests=ALL_TRUSTED,HK_RANDOM_ENVFROM,HK_RANDOM_FROM X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 May 2010 17:30:24 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 39CE723888CD; Thu, 13 May 2010 17:30:02 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r943946 - in /geronimo/xbean/trunk: xbean-asm-shaded/src/main/appended-resources/META-INF/ xbean-blueprint/ xbean-spring/src/main/resources/org/apache/xbean/spring/ xbean-spring/src/test/resources/org/apache/xbean/spring/context/ Date: Thu, 13 May 2010 17:30:02 -0000 To: xbean-scm@geronimo.apache.org From: rickmcguire@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100513173002.39CE723888CD@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: rickmcguire Date: Thu May 13 17:30:01 2010 New Revision: 943946 URL: http://svn.apache.org/viewvc?rev=943946&view=rev Log: fix a couple of rat issues and remove pax-logging snapshot dependency Modified: geronimo/xbean/trunk/xbean-asm-shaded/src/main/appended-resources/META-INF/LICENSE.vm geronimo/xbean/trunk/xbean-blueprint/pom.xml geronimo/xbean/trunk/xbean-spring/src/main/resources/org/apache/xbean/spring/spring-beans.xsd geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/keg-xbean-properties.properties Modified: geronimo/xbean/trunk/xbean-asm-shaded/src/main/appended-resources/META-INF/LICENSE.vm URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-asm-shaded/src/main/appended-resources/META-INF/LICENSE.vm?rev=943946&r1=943945&r2=943946&view=diff ============================================================================== --- geronimo/xbean/trunk/xbean-asm-shaded/src/main/appended-resources/META-INF/LICENSE.vm (original) +++ geronimo/xbean/trunk/xbean-asm-shaded/src/main/appended-resources/META-INF/LICENSE.vm Thu May 13 17:30:01 2010 @@ -1,4 +1,24 @@ -------------------------------------- +## +## 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. +## +## $Rev$ $Date$ +## Copyright (c) 2000-2005 INRIA, France Telecom All rights reserved. @@ -30,5 +50,5 @@ CONTRACT, STRICT LIABILITY, OR TORT (INC ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - + + Modified: geronimo/xbean/trunk/xbean-blueprint/pom.xml URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-blueprint/pom.xml?rev=943946&r1=943945&r2=943946&view=diff ============================================================================== --- geronimo/xbean/trunk/xbean-blueprint/pom.xml (original) +++ geronimo/xbean/trunk/xbean-blueprint/pom.xml Thu May 13 17:30:01 2010 @@ -36,7 +36,7 @@ xbean-blueprint provides a schema-driven namespace handler for Apache Aries Blueprint - 1.4.1-SNAPSHOT + 1.5.0 @@ -59,7 +59,7 @@ - + org.ops4j.pax.logging pax-logging-api Modified: geronimo/xbean/trunk/xbean-spring/src/main/resources/org/apache/xbean/spring/spring-beans.xsd URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring/src/main/resources/org/apache/xbean/spring/spring-beans.xsd?rev=943946&r1=943945&r2=943946&view=diff ============================================================================== --- geronimo/xbean/trunk/xbean-spring/src/main/resources/org/apache/xbean/spring/spring-beans.xsd (original) +++ geronimo/xbean/trunk/xbean-spring/src/main/resources/org/apache/xbean/spring/spring-beans.xsd Thu May 13 17:30:01 2010 @@ -1,39 +1,55 @@ @@ -115,7 +131,7 @@ @@ -233,7 +249,7 @@ be returned by all calls to getBean() with the id), or a "prototype" (independent instance resulting from each call to getBean(). Default is singleton. - + Singletons are most commonly used, and are ideal for multi-threaded service objects. --> @@ -246,38 +262,38 @@ Optional attribute controlling whether to "autowire" bean properties. This is an automagical process in which bean references don't need to be coded explicitly in the XML bean definition file, but Spring works out dependencies. - + There are 5 modes: - + 1. "no" The traditional Spring default. No automagical wiring. Bean references must be defined in the XML file via the element. We recommend this in most cases as it makes documentation more explicit. - + 2. "byName" Autowiring by property name. If a bean of class Cat exposes a dog property, Spring will try to set this to the value of the bean "dog" in the current factory. If there is no matching bean by name, nothing special happens; use dependency-check="objects" to raise an error in that case. - + 3. "byType" Autowiring if there is exactly one bean of the property type in the bean factory. If there is more than one, a fatal error is raised, and you can't use byType autowiring for that bean. If there is none, nothing special happens; use dependency-check="objects" to raise an error in that case. - + 4. "constructor" Analogous to "byType" for constructor arguments. If there isn't exactly one bean of the constructor argument type in the bean factory, a fatal error is raised. - + 5. "autodetect" Chooses "constructor" or "byType" through introspection of the bean class. If a default constructor is found, "byType" gets applied. - + The latter two are similar to PicoContainer and make bean factories simple to configure for small namespaces, but doesn't work as well as standard Spring behaviour for bigger applications. - + Note that explicit dependencies, i.e. "property" and "constructor-arg" elements, always override autowiring. Autowire behaviour can be combined with dependency checking, which will be performed after all autowiring has been completed. @@ -286,7 +302,7 @@ Optional attribute controlling whether to check whether all this beans dependencies, expressed in its properties, are satisfied. Default is no dependency checking. - + "simple" type dependency checking includes primitives and String "object" includes collaborators (other beans in the factory) "all" includes both types of dependency checking @@ -294,7 +310,7 @@ @@ -450,7 +466,7 @@ @@ -464,7 +480,7 @@ @@ -540,7 +556,7 @@ machinery. This makes it possible for application developers to write custom PropertyEditor implementations that can convert strings to objects. - + Note that this is recommended for simple objects only. Configure more complex objects by populating JavaBean properties with references to other beans. Modified: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/keg-xbean-properties.properties URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/keg-xbean-properties.properties?rev=943946&r1=943945&r2=943946&view=diff ============================================================================== --- geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/keg-xbean-properties.properties (original) +++ geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/keg-xbean-properties.properties Thu May 13 17:30:01 2010 @@ -1,3 +1,17 @@ +# 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. ml1000=1000 ml pints5=5 pints liter20=20 liter