org.codehaus.plexus.cdc

Class DefaultComponentDescriptorCreator

public class DefaultComponentDescriptorCreator extends AbstractLogEnabled implements ComponentDescriptorCreator

So, in this case it is easy enough to determine the role and the implementation. We could also employ some secondary checks like looking for particular super classes or whatever. We can always use the @tags to be explicit but in most cases we can probably determine the correct component descriptor without requiring @tags.

Version: $Id: DefaultComponentDescriptorCreator.java 2084 2005-06-05 12:18:13Z trygvis $

Author: Jason van Zyl Trygve Laugstøl

UNKNOWN: glean configuration information from types of the parameters but also allow OCL type constraints for validation. We'll hook in something simple like regex as for most cases I think some simple regex could catch most problems. I don't want to have to use MSV or something like that which which triple the size of a deployment.

This is for a single project with a single POM, multiple components with all deps in the POM.

Method Summary
voidprocessSources(File[] sourceDirectories, File outputDirectory)
voidwriteDependencies(XMLWriter w, ComponentSetDescriptor componentSetDescriptor)

Method Detail

processSources

public void processSources(File[] sourceDirectories, File outputDirectory)

writeDependencies

public void writeDependencies(XMLWriter w, ComponentSetDescriptor componentSetDescriptor)
Copyright © 2001-2009 Codehaus. All Rights Reserved.