Nicolas De Loof
863c3fb374
incomplete support for PlexusConfiguration based on spring-context nodes
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@631880 13f79535-47bb-0310-9956-ffa450edef68
2008-02-28 07:57:43 +00:00
Nicolas De Loof
9071f4c2ec
add partial support for PlexusConfiguration in XML
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@631642 13f79535-47bb-0310-9956-ffa450edef68
2008-02-27 16:53:16 +00:00
Nicolas De Loof
eb5ad5f119
Disposable lifecycle event moved in BeanPostProcessor
...
documentation
cleaner unit testing with dedicated context files for tested features
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@631608 13f79535-47bb-0310-9956-ffa450edef68
2008-02-27 15:04:25 +00:00
Nicolas De Loof
263e57398c
plexus lifecycle handling moved to a BeanPostProcessor
...
BeanPostProcessor and PlexusContainerAdapter automatically registered in the ApplicationContext
fall back to ConsoleLoggerManager when no LoggerManager bean found
===========================================================
!!! archiva-proxy tests now pass as PlexusInSpringTests !!!
===========================================================
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@631290 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 16:52:49 +00:00
Nicolas De Loof
6a298ad9cb
fix error when target field is declared in the parent class
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@631211 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 13:44:14 +00:00
Nicolas De Loof
1af5499f80
support for plexus requirements without field-name
...
debug logging
archiva-policies converted to use PlexusInSpringTestCase for tests
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@631207 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 13:04:26 +00:00
Nicolas De Loof
773b4eb7da
fix instantiation-strategy
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@630922 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 16:36:58 +00:00
Nicolas De Loof
58d26e6c35
limited support for Contextualizable and lookups in PlexusContainer
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@630906 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 16:05:18 +00:00
Nicolas De Loof
bc0af2b712
limited support for Contextualizable and lookups in PlexusContainer
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@630905 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 16:05:05 +00:00
Nicolas De Loof
81bc4e399f
multiple fixes
...
refactoring & code cleanup
throws exception when converted plexus descriptor doesn't specify field-name
"-Dplexus-spring.debug=true" option to dump converted XML (requires dom4j)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@630864 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 14:43:31 +00:00
Nicolas De Loof
3cb8510b96
add missing <field-name>
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@630863 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 14:39:08 +00:00
Nicolas De Loof
0fe7632114
fix : cache instance in beanFactory when instanciation-strategy = singleton
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@630818 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 11:54:45 +00:00
Nicolas De Loof
edaa5c7970
typo in XSL + organize imports
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@630783 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 09:44:30 +00:00
Nicolas De Loof
68f0ed16f7
fix NullPointer in CommonsConfiguration.initialize (must call enableLogger() before initialize())
...
add support for Plexus List<components for role> injection (RepositoryContentConsumers)
remove spring support classes from archiva-commons
PlexusInSpringTestCase to replace PlexusTestCase with as fiew as possible changes
apply plexus-spring on archiva-policies
apply plexus-spring on archiva-proxy (some test failure to investigate)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@630773 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 09:20:06 +00:00
Nicolas De Loof
c380953a23
use plexus-spring
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@630665 13f79535-47bb-0310-9956-ffa450edef68
2008-02-24 19:54:13 +00:00
Nicolas De Loof
458aa505a8
package spring support for plexus for donation to plexus
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@630624 13f79535-47bb-0310-9956-ffa450edef68
2008-02-24 13:58:02 +00:00
Nicolas De Loof
d6cc446fb2
add support in spring context for Map<role-hint, component> as @plexus.requirement
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@630623 13f79535-47bb-0310-9956-ffa450edef68
2008-02-24 13:52:54 +00:00
Nicolas De Loof
134bdecc32
spring support for plexus components
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@630621 13f79535-47bb-0310-9956-ffa450edef68
2008-02-24 13:25:08 +00:00
Nicolas De Loof
92faaa0853
fix javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@630147 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 10:37:31 +00:00
Nicolas De Loof
a70e0c3020
use PlexusClassPathXmlApplicationContext
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@630131 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 09:46:20 +00:00
Nicolas De Loof
67288bff14
- add support for LogEnabled plexus lifecycle interface via a BeanPostProcessor
...
- add support for plexus Map<role-hint, component> injection of all "beans with role xx" via a custom FactoryBean
- fix destroy-method
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@630130 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 09:45:35 +00:00
Nicolas De Loof
c4c3b7cd8b
- plexus compilant ClassPathXmlApplicationContext
...
- plexus-2-spring xslt now creates simple class name aliases for plexus FQCN roles
- attempt to use plexus to spring bridge in CachedFailuresPolicyTest
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@629854 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 16:33:22 +00:00
Nicolas De Loof
ae5e322b02
- plexus compilant ClassPathXmlApplicationContext
...
- plexus-2-spring xslt now creates simple class name aliases for plexus FQCN roles
- attempt to use plexus to spring bridge in CachedFailuresPolicyTest
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@629852 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 16:33:10 +00:00
Nicolas De Loof
401c68e004
add support for plexus Initializable / Disposable lifecycle interfaces
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@629513 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 15:53:59 +00:00
Nicolas De Loof
11345c495d
use Xalan extension to invoke custom XpathFunction
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@629505 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 15:29:52 +00:00
Nicolas De Loof
f83d2a8d64
plexus bean factory to convert plexus components descriptor on the fly
...
support for instantiation-strategy=per-lookup
basic testcase included
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@629479 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 14:36:29 +00:00
Nicolas De Loof
3395f66fa7
set scope=test
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@629455 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 13:41:54 +00:00
Nicolas De Loof
4915168d0d
Spring BeanDefinitionReader to convert plexus descriptors on the fly
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@629454 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 13:40:59 +00:00
Brett Porter
53bc8d5360
experimental Spring support
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@629309 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 01:39:07 +00:00
Brett Porter
0d2d677476
branch to experiment with partial Spring migration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@629305 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 01:32:56 +00:00