Directory proposal/myrmidon/src/java/org/apache/myrmidon/interfaces/configurer/

Directory Created:
2001-11-04 21:58
Directory Deleted:
2002-04-17 10:49
Total Files:
0
Deleted Files:
2
Lines of Code:
0

Browse with ViewVC

[root]/proposal/myrmidon/src/java/org/apache/myrmidon/interfaces/configurer

Lines of Code

proposal/myrmidon/src/java/org/apache/myrmidon/interfaces/configurer/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 16 (100.0%) 70 (100.0%) 4.3
donaldp 13 (81.3%) 67 (95.7%) 5.1
adammurdoch 2 (12.5%) 2 (2.9%) 1.0
darrell 1 (6.3%) 1 (1.4%) 1.0

Most Recent Commits

donaldp 2002-04-17 10:49

zappity zap

0 lines of code changed in:

darrell 2002-04-01 09:56

* Fixed a bunch of checkstyle violations (mostly

javadoc)



* Added basic javadoc target to build.

1 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/myrmidon/interfaces/configurer: Configurer.java (+1)
donaldp 2002-03-12 11:14

Add some extra methods to configurer interface that allows you to pass in the class/interface to use during configuring process. This makes it dead simple to support facades

46 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/myrmidon/interfaces/configurer: Configurer.java (+46)
donaldp 2002-03-12 10:33

Configurer.configure -->

Configurer.configureElement + Configurer.configureAttribute

2 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/myrmidon/interfaces/configurer: Configurer.java (+2 -2)
donaldp 2002-03-03 07:30

Merge Context back into TaskContext

3 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/myrmidon/interfaces/configurer: Configurer.java (+3 -3)
adammurdoch 2002-03-01 02:13

* Reorganised build to use new <antlib-descriptor> task.

* The "builtin" and "selftest" descriptors are now generated.

* Fixed ant-descriptor.template to handle @ant:type tag properly.



Submitted by Darrell DeBoer [darrell@apache.org]

1 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/myrmidon/interfaces/configurer: Configurer.java (+1)
adammurdoch 2002-02-25 10:42

Replaced usage of Avalon Context with Myrmidon specific Context:



* Moved read-only property and resolve methods from TaskContext to new Context

interface. TaskContext now extends the new Context interface.



* Changed the Configurer methods to use the new Context. Both implementations

use the supplied Context to do property resolution.



* Renamed TaskContext.getPropertys() -> getProperties().



* Moved PropertyUtil from configurer to workspace package, as that is now

the only place it is used.



* Changed PropertyUtil to work with the new Context.



RoleManager:



* A default implementation for a role can now be specified. Currently

can only do this programatically.



DefaultMasterConverter:



* Removed MasterConverter interface. It is now identified by the Converter

role.



* Now caches the converter instances.



* Changed the converter search algorithm to traverse the *source* class

hierarchy, including all interfaces. Chooses the most specialised

conversion, and fails if there is more than one such choice.



DefaultConfigurer:



* Attempts to convert references, if the type does not match the expected type.



* Changed handling of nested elements, for named adders/setters:

* If the method type can be mapped to a role, and that role has a default

implementation, then use that default implementation.

* Otherwise, if the method type is an interface, fail.

* Otherwise, create an instance using no-args constructor.



* Changed handling of nested elements, for typed adders/setters:

* If the method type can be mapped to a role, and the element name is

a type of that role, then use that role to create the instance.

* Otherwise, use the type factory for the generic data-type role.

* Attempt to convert the instance if it is not of the expected type.



* Added a bunch of test cases for new functionality.



* Renamed all the ConfigTest classes to have descriptive names.



Misc:



* Renamed package framework.factorys -> framework.factories.



* Made tests work when fork = false.

1 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/myrmidon/interfaces/configurer: Configurer.java (+1 -1)
donaldp 2002-02-21 11:06

Rename myrmidons ServiceManager stuff to AntServiceManager



Refactored the codebase to use Avalons ServiceManager rather than ComponentManager. The reason for this is that the ComponentManager required that contained objects implement the Component interface while the ServiceManager constructs do not have this requirement.



This makes it much easier to extract parts of Myrmidon without any dependency on Ant/Avalon

0 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/myrmidon/interfaces/configurer: Configurer.java (-2)
donaldp 2002-02-21 11:03

Make class Resolvable so that converters get direct access to the underlying TaskContext

8 lines of code changed in:

donaldp 2002-02-21 09:35

Add an adaptor so that the TaskContext will still apear as an Avalon COntext to the Configurer

1 lines of code changed in:

donaldp 2002-02-07 13:02

Add version tags

1 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/myrmidon/interfaces/configurer: Configurer.java (+1)
donaldp 2002-02-06 13:18

Make role exposed as the classname

1 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/myrmidon/interfaces/configurer: Configurer.java (+1 -1)
donaldp 2001-12-23 06:28

Fix up license banner.

1 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/myrmidon/interfaces/configurer: Configurer.java (+1 -1)
donaldp 2001-11-19 12:37

donaldp@apache.org --> peter@apache.org



yea - now no one will call me Donald!!!

1 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/myrmidon/interfaces/configurer: Configurer.java (+1 -1)
donaldp 2001-11-04 21:58

Moved interfaces outside of main trunk.

3 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/myrmidon/interfaces/configurer: Configurer.java (new 3)
Generated by StatSVN 0.3.2-SNAPSHOT