cleaning up .testsuite

This commit is contained in:
Chris Beams 2008-12-17 23:20:57 +00:00
parent 92b1b73f32
commit 2be8114c63
16 changed files with 226 additions and 380 deletions

View File

@ -0,0 +1,67 @@
#Wed Dec 17 14:53:01 PST 2008
eclipse.preferences.version=1
org.springframework.ide.eclipse.core.builders.enable.aopreferencemodelbuilder=true
org.springframework.ide.eclipse.core.builders.enable.beanmetadatabuilder=true
org.springframework.ide.eclipse.core.builders.enable.osgibundleupdater=true
org.springframework.ide.eclipse.core.enable.project.preferences=false
org.springframework.ide.eclipse.core.validator.enable.com.springsource.platform.ide.manifest.core.manifestvalidator=true
org.springframework.ide.eclipse.core.validator.enable.com.springsource.sts.ap.quickfix.manifestvalidator=true
org.springframework.ide.eclipse.core.validator.enable.com.springsource.sts.bestpractices.beansvalidator=true
org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.beans.core.beansvalidator=true
org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.core.springvalidator=false
org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.platform.ide.manifest.core.applicationSymbolicNameRule-com.springsource.platform.ide.manifest.core.manifestvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.platform.ide.manifest.core.applicationVersionRule-com.springsource.platform.ide.manifest.core.manifestvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.platform.ide.manifest.core.bundleActivationPolicyRule-com.springsource.platform.ide.manifest.core.manifestvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.platform.ide.manifest.core.bundleActivatorRule-com.springsource.platform.ide.manifest.core.manifestvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.platform.ide.manifest.core.bundleManifestVersionRule-com.springsource.platform.ide.manifest.core.manifestvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.platform.ide.manifest.core.bundleNameRule-com.springsource.platform.ide.manifest.core.manifestvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.platform.ide.manifest.core.bundleSymbolicNameRule-com.springsource.platform.ide.manifest.core.manifestvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.platform.ide.manifest.core.bundleVersionRule-com.springsource.platform.ide.manifest.core.manifestvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.platform.ide.manifest.core.exportPackageRule-com.springsource.platform.ide.manifest.core.manifestvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.platform.ide.manifest.core.importRule-com.springsource.platform.ide.manifest.core.manifestvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.platform.ide.manifest.core.parsingProblemsRule-com.springsource.platform.ide.manifest.core.manifestvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.platform.ide.manifest.core.requireBundleRule-com.springsource.platform.ide.manifest.core.manifestvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.ap.quickfix.importBundleVersionRule-com.springsource.sts.ap.quickfix.manifestvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.ap.quickfix.importLibraryVersionRule-com.springsource.sts.ap.quickfix.manifestvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.ap.quickfix.importPackageVersionRule-com.springsource.sts.ap.quickfix.manifestvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.ap.quickfix.requireBundleVersionRule-com.springsource.sts.ap.quickfix.manifestvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.AvoidDriverManagerDataSource-com.springsource.sts.bestpractices.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.ImportElementsAtTopRulee-com.springsource.sts.bestpractices.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.ParentBeanSpecifiesAbstractClassRule-com.springsource.sts.bestpractices.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.RefElementRule-com.springsource.sts.bestpractices.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.TooManyBeansInFileRule-com.springsource.sts.bestpractices.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.UnnecessaryValueElementRule-com.springsource.sts.bestpractices.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.com.springsource.sts.bestpractices.UseBeanInheritance-com.springsource.sts.bestpractices.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.com.springsource.sts.bestpractices.legacyxmlusage.jndiobjectfactory-com.springsource.sts.bestpractices.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanAlias-org.springframework.ide.eclipse.beans.core.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanClass-org.springframework.ide.eclipse.beans.core.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanConstructorArgument-org.springframework.ide.eclipse.beans.core.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanDefinition-org.springframework.ide.eclipse.beans.core.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanDefinitionHolder-org.springframework.ide.eclipse.beans.core.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanFactory-org.springframework.ide.eclipse.beans.core.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanInitDestroyMethod-org.springframework.ide.eclipse.beans.core.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanProperty-org.springframework.ide.eclipse.beans.core.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanReference-org.springframework.ide.eclipse.beans.core.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.methodOverride-org.springframework.ide.eclipse.beans.core.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.parsingProblems-org.springframework.ide.eclipse.beans.core.beansvalidator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.requiredProperty-org.springframework.ide.eclipse.beans.core.beansvalidator=false
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.core.springClasspath-org.springframework.ide.eclipse.core.springvalidator=false
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.action-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.actionstate-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.attribute-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.attributemapper-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.beanaction-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.evaluationaction-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.evaluationresult-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.exceptionhandler-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.import-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.inputattribute-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.mapping-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.outputattribute-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.set-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.state-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.subflowstate-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.transition-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.variable-org.springframework.ide.eclipse.webflow.core.validator=true
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.webflowstate-org.springframework.ide.eclipse.webflow.core.validator=true

View File

@ -0,0 +1,148 @@
<?xml version="1.0" encoding="UTF-8"?>
<beansProjectDescription>
<version>1</version>
<pluginVersion><![CDATA[2.2.0.v200809261800]]></pluginVersion>
<configSuffixes>
<configSuffix><![CDATA[xml]]></configSuffix>
</configSuffixes>
<enableImports><![CDATA[true]]></enableImports>
<configs>
<config>src/test/java/org/springframework/aop/aspectj/advice-precedence-tests.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/after-advice-tests.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/afterReturning-advice-tests.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/afterThrowing-advice-tests.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/ambiguous-advice-tests.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/args-mismatch.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/around-advice-circular-tests.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/around-advice-tests.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/aspectj.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/bean-name-pointcut-atAspect-tests.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/bean-name-pointcut-tests.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/before-advice-tests.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/declare-parents-tests.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/implicit-jp-argument-matching-atAspectJ-tests.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/implicit-jp-argument-matching-tests.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/overloaded-advice-tests.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/proceedTests.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/property-dependent-aspect-property-after-aspect-test.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/property-dependent-aspect-property-before-aspect-test.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/property-dependent-atAspectJ-aspect-property-after-aspect-test.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/property-dependent-atAspectJ-aspect-property-before-aspect-test.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/targetPointcutSelectionTests.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/this-and-target-selectionOnly-pointcuts-atAspectJ-tests.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/this-and-target-selectionOnly-pointcuts-tests.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/topsy-turvy-aspect.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/autoproxy/afterThrowingAdviceTests.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/autoproxy/annotationPointcut.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/autoproxy/around-advice-tests.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/autoproxy/aspect-implementing-interface-tests.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/autoproxy/aspects.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/autoproxy/aspectsPlusAdvisor.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/autoproxy/aspectsWithAbstractBean.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/autoproxy/aspectsWithCGLIB.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/autoproxy/aspectsWithOrdering.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/autoproxy/ataspectj-around-advice-tests.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/autoproxy/lazy.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/autoproxy/pertarget.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/autoproxy/perthis.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/autoproxy/retryAspect.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/autoproxy/twoAdviceAspect.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/autoproxy/twoAdviceAspectPrototype.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/autoproxy/usesInclude.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/autoproxy/usesJoinPointAspect.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/autoproxy/benchmark/aspectj.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/autoproxy/benchmark/springAop.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/autoproxy/spr3064/annotationbinding-spr3064.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/generic/afterReturningGenericTypeMatchingTests-context.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/generic/genericBridgeMethodMatchingTests-classProxy-context.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/generic/genericBridgeMethodMatchingTests-context.xml</config>
<config>src/test/java/org/springframework/aop/aspectj/generic/genericParameterMatchingTests-context.xml</config>
<config>src/test/java/org/springframework/aop/config/aopNamespaceHandlerAdviceTypeOKTests.xml</config>
<config>src/test/java/org/springframework/aop/config/aopNamespaceHandlerArgNamesErrorTests.xml</config>
<config>src/test/java/org/springframework/aop/config/aopNamespaceHandlerArgNamesOKTests.xml</config>
<config>src/test/java/org/springframework/aop/config/aopNamespaceHandlerProxyTargetClassTests.xml</config>
<config>src/test/java/org/springframework/aop/config/aopNamespaceHandlerReturningOKTests.xml</config>
<config>src/test/java/org/springframework/aop/config/aopNamespaceHandlerScopeTests.xml</config>
<config>src/test/java/org/springframework/aop/config/aopNamespaceHandlerTests.xml</config>
<config>src/test/java/org/springframework/aop/config/aopNamespaceHandlerThrowingOKTests.xml</config>
<config>src/test/java/org/springframework/aop/config/prototypeProxy.xml</config>
<config>src/test/java/org/springframework/aop/framework/frozenProxyFactoryBean.xml</config>
<config>src/test/java/org/springframework/aop/framework/innerBeanTarget.xml</config>
<config>src/test/java/org/springframework/aop/framework/invalidProxyFactory.xml</config>
<config>src/test/java/org/springframework/aop/framework/prototypeTests.xml</config>
<config>src/test/java/org/springframework/aop/framework/proxyFactoryBeanAutowiringTests.xml</config>
<config>src/test/java/org/springframework/aop/framework/proxyFactoryDoubleTargetSourceTests.xml</config>
<config>src/test/java/org/springframework/aop/framework/proxyFactoryTargetSourceNotLastTests.xml</config>
<config>src/test/java/org/springframework/aop/framework/proxyFactoryTargetSourceTests.xml</config>
<config>src/test/java/org/springframework/aop/framework/proxyFactoryTests.xml</config>
<config>src/test/java/org/springframework/aop/framework/serializationTests.xml</config>
<config>src/test/java/org/springframework/aop/framework/throwsAdvice.xml</config>
<config>src/test/java/org/springframework/aop/framework/withDependencyChecking.xml</config>
<config>src/test/java/org/springframework/aop/framework/adapter/withBPPContext.xml</config>
<config>src/test/java/org/springframework/aop/framework/adapter/withoutBPPContext.xml</config>
<config>src/test/java/org/springframework/aop/framework/autoproxy/advisorAutoProxyCreator.xml</config>
<config>src/test/java/org/springframework/aop/framework/autoproxy/advisorAutoProxyCreatorWithCommonInterceptors.xml</config>
<config>src/test/java/org/springframework/aop/framework/autoproxy/beanNameAutoProxyCreatorInitTests.xml</config>
<config>src/test/java/org/springframework/aop/framework/autoproxy/beanNameAutoProxyCreatorTests.xml</config>
<config>src/test/java/org/springframework/aop/framework/autoproxy/customTargetSource.xml</config>
<config>src/test/java/org/springframework/aop/framework/autoproxy/optimizedAutoProxyCreator.xml</config>
<config>src/test/java/org/springframework/aop/scope/scopedList.xml</config>
<config>src/test/java/org/springframework/aop/scope/scopedMap.xml</config>
<config>src/test/java/org/springframework/aop/scope/scopedOverride.xml</config>
<config>src/test/java/org/springframework/aop/scope/scopedTestBean.xml</config>
<config>src/test/java/org/springframework/aop/target/commonsPoolTests.xml</config>
<config>src/test/java/org/springframework/beans/factory/config/test-properties.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/autowire-constructor-with-exclusion.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/beanEvents.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/beanEventsImported.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/beanNameGeneration.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/child.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/classNotFound.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/collectionMerging.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/collectionsWithDefaultTypes.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/complexFactoryCircle.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/constructorOverrides.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/default-autowire.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/default-lazy-init.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/defaultLifecycleMethods.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/delegationOverrides.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/dependencies-carg-autowire.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/dependencies-carg-inner.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/dependencies-carg.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/dependencies-dependsOn-inner.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/dependencies-dependsOn.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/dependencies-prop-autowireByName.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/dependencies-prop-autowireByType.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/dependencies-prop-inner.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/dependencies-prop-inTheMiddle.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/dependencies-prop.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/dependenciesMaterializeThis.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/factoryCircle.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/ignoreDefaultLifecycleMethods.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/invalid-factory.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/local-collections-using-XSD.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/no-such-factory-method.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/overloadOverrides.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/overrides.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/parent.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/qualifierAnnotationTests.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/recursiveImport.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/reftypes.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/resource.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/resourceImport.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/satisfiedAllDependencyCheck.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/satisfiedObjectDependencyCheck.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/satisfiedSimpleDependencyCheck.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/schemaValidated.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/shortcutTests.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/test.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/unsatisfiedAllDependencyCheckMissingObjects.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/unsatisfiedObjectDependencyCheck.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/unsatisfiedSimpleDependencyCheck.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/validateWithDtd.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/validateWithXsd.xml</config>
<config>src/test/java/org/springframework/beans/factory/xml/withMeta.xml</config>
</configs>
<configSets>
</configSets>
</beansProjectDescription>

View File

@ -1,109 +0,0 @@
/*
* Copyright 2002-2006 the original author or authors.
*
* Licensed 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.
*/
package org.springframework.aop.aspectj.annotation;
import java.lang.reflect.Method;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.reflect.MethodSignature;
import org.springframework.util.ObjectUtils;
/**
* Add a DeclareParents field in concrete subclasses, to identify
* the type pattern to apply the introduction to.
*
* @author Rod Johnson
* @since 2.0
*/
@Aspect
public abstract class AbstractMakeModifiable {
public interface MutableModifable extends Modifiable {
void markDirty();
}
public static class ModifiableImpl implements MutableModifable {
private boolean modified;
public void acceptChanges() {
modified = false;
}
public boolean isModified() {
return modified;
}
public void markDirty() {
this.modified = true;
}
}
@Before(value="execution(void set*(*)) && this(modifiable) && args(newValue)",
argNames="modifiable,newValue")
public void recordModificationIfSetterArgumentDiffersFromOldValue(JoinPoint jp,
MutableModifable mixin, Object newValue) {
/*
* We use the mixin to check and, if necessary, change,
* modification status. We need the JoinPoint to get the
* setter method. We use newValue for comparison.
* We try to invoke the getter if possible.
*/
if (mixin.isModified()) {
// Already changed, don't need to change again
//System.out.println("changed");
return;
}
// Find the current raw value, by invoking the corresponding setter
Method correspondingGetter = getGetterFromSetter(((MethodSignature) jp.getSignature()).getMethod());
boolean modified = true;
if (correspondingGetter != null) {
try {
Object oldValue = correspondingGetter.invoke(jp.getTarget());
//System.out.println("Old value=" + oldValue + "; new=" + newValue);
modified = !ObjectUtils.nullSafeEquals(oldValue, newValue);
}
catch (Exception ex) {
ex.printStackTrace();
// Don't sweat on exceptions; assume value was modified
}
}
else {
//System.out.println("cannot get getter for " + jp);
}
if (modified) {
mixin.markDirty();
}
}
private Method getGetterFromSetter(Method setter) {
String getterName = setter.getName().replaceFirst("set", "get");
try {
return setter.getDeclaringClass().getMethod(getterName, (Class[]) null);
}
catch (NoSuchMethodException ex) {
// must be write only
return null;
}
}
}

View File

@ -1,44 +0,0 @@
/*
* Copyright 2002-2005 the original author or authors.
*
* Licensed 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.
*/
package org.springframework.aop.aspectj.annotation;
import org.springframework.aop.framework.Lockable;
/**
*
*
* @author Rod Johnson
*
*/
public class CannotBeUnlocked implements Lockable, Comparable {
public void lock() {
}
public void unlock() {
throw new UnsupportedOperationException();
}
public boolean locked() {
return true;
}
public int compareTo(Object arg0) {
throw new UnsupportedOperationException();
}
}

View File

@ -1,28 +0,0 @@
/*
* Copyright 2002-2006 the original author or authors.
*
* Licensed 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.
*/
package org.springframework.aop.aspectj.annotation;
import org.aspectj.lang.annotation.Aspect;
/**
* @author Rob Harrop
* @since 2.o
*/
@Aspect
public class FooAspect {
}

View File

@ -1,34 +0,0 @@
/*
* Copyright 2002-2006 the original author or authors.
*
* Licensed 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.
*/
package org.springframework.aop.aspectj.annotation;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.DeclareParents;
/**
* Adds a declare parents pointcut.
* @author Rod Johnson
* @since 2.0
*/
@Aspect
public class MakeITestBeanModifiable extends AbstractMakeModifiable {
@DeclareParents(value = "org.springframework.beans.ITestBean+",
defaultImpl=ModifiableImpl.class)
public static MutableModifable mixin;
}

View File

@ -1,73 +0,0 @@
/*
* Copyright 2002-2006 the original author or authors.
*
* Licensed 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.
*/
package org.springframework.aop.aspectj.annotation;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.DeclareParents;
import org.springframework.aop.framework.DefaultLockable;
import org.springframework.aop.framework.Lockable;
/**
* Demonstrates introductions, AspectJ annotation style.
* <p>
* @author Rod Johnson
* @since 2.0
*/
@Aspect
public class MakeLockable {
@DeclareParents(value = "org.springframework..*",
defaultImpl=DefaultLockable.class)
public static Lockable mixin;
@Before(value="execution(void set*(*)) && this(mixin)", argNames="mixin")
public void checkNotLocked(
Lockable mixin) // Bind to arg
{
// Can also obtain the mixin (this) this way
//Lockable mixin = (Lockable) jp.getThis();
if (mixin.locked()) {
throw new IllegalStateException();
}
}
}
/*
*
* public aspect MakeLockable {
*
* declare parents org....* implements Lockable;
*
* private boolean Lockable.locked;
* public void Lockable.lock() {
this.locked = true;
}
* public void Lockable.unlock() {
this.locked = false;
}
* public boolean Lockable.locked() {
return this.locked;
}
*
*
* }
*/

View File

@ -1,30 +0,0 @@
/*
* Copyright 2002-2006 the original author or authors.
*
* Licensed 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.
*/
package org.springframework.aop.aspectj.annotation;
/**
* Used as a mixin.
*
* @author Rod Johnson
*/
public interface Modifiable {
boolean isModified();
void acceptChanges();
}

View File

@ -1,39 +0,0 @@
/*
* Copyright 2002-2007 the original author or authors.
*
* Licensed 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.
*/
package org.springframework.aop.aspectj.annotation;
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;
/**
* @author Adrian Colyer
*/
@Aspect
public class NamedPointcutWithArgs {
@Pointcut("execution(* *(..)) && args(s,..)")
public void pointcutWithArgs(String s) {}
@Around("pointcutWithArgs(aString)")
public Object doAround(ProceedingJoinPoint pjp, String aString) throws Throwable {
System.out.println("got '" + aString + "' at '" + pjp + "'");
throw new IllegalArgumentException(aString);
}
}

View File

@ -1,15 +0,0 @@
package org.springframework.aop.aspectj.annotation;
public class NotLockable {
private int intValue;
public int getIntValue() {
return intValue;
}
public void setIntValue(int intValue) {
this.intValue = intValue;
}
}

View File

@ -14,7 +14,9 @@
* limitations under the License.
*/
package org.springframework.aop;
package org.springframework.aop.framework.adapter;
import org.springframework.aop.BeforeAdvice;
/**
* Simple BeforeAdvice for testing.

View File

@ -14,13 +14,14 @@
* limitations under the License.
*/
package org.springframework.aop;
package org.springframework.aop.framework.adapter;
import java.io.Serializable;
import org.aopalliance.aop.Advice;
import org.aopalliance.intercept.MethodInterceptor;
import org.springframework.aop.Advisor;
import org.springframework.aop.framework.adapter.AdvisorAdapter;
/**

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.aop;
package org.springframework.aop.framework.adapter;
/**
* @author Dmitriy Kopylenko

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.aop;
package org.springframework.aop.framework.adapter;
import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;

View File

@ -5,7 +5,7 @@
<bean id="testBeanTarget" class="org.springframework.beans.TestBean"/>
<bean id="simpleBeforeAdvice" class="org.springframework.aop.SimpleBeforeAdviceImpl"/>
<bean id="simpleBeforeAdvice" class="org.springframework.aop.framework.adapter.SimpleBeforeAdviceImpl"/>
<bean id="simpleBeforeAdviceAdvisor" class="org.springframework.aop.support.DefaultPointcutAdvisor">
<constructor-arg><ref local="simpleBeforeAdvice"/></constructor-arg>
@ -16,7 +16,7 @@
<property name="interceptorNames"><value>simpleBeforeAdviceAdvisor,testBeanTarget</value></property>
</bean>
<bean id="testAdvisorAdapter" class="org.springframework.aop.SimpleBeforeAdviceAdapter"/>
<bean id="testAdvisorAdapter" class="org.springframework.aop.framework.adapter.SimpleBeforeAdviceAdapter"/>
<bean id="adapterRegistrationManager" class="org.springframework.aop.framework.adapter.AdvisorAdapterRegistrationManager"/>

View File

@ -5,7 +5,7 @@
<bean id="testBeanTarget" class="org.springframework.beans.TestBean"/>
<bean id="simpleBeforeAdvice" class="org.springframework.aop.SimpleBeforeAdviceImpl"/>
<bean id="simpleBeforeAdvice" class="org.springframework.aop.framework.adapter.SimpleBeforeAdviceImpl"/>
<bean id="simpleBeforeAdviceAdvisor" class="org.springframework.aop.support.DefaultPointcutAdvisor">
<constructor-arg><ref local="simpleBeforeAdvice"/></constructor-arg>
@ -16,6 +16,6 @@
<property name="interceptorNames"><value>simpleBeforeAdviceAdvisor,testBeanTarget</value></property>
</bean>
<bean id="testAdvisorAdapter" class="org.springframework.aop.SimpleBeforeAdviceAdapter"/>
<bean id="testAdvisorAdapter" class="org.springframework.aop.framework.adapter.SimpleBeforeAdviceAdapter"/>
</beans>