org.codehaus.plexus.cdc
Class DefaultComponentDescriptorCreator
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.codehaus.plexus.cdc.DefaultComponentDescriptorCreator
- All Implemented Interfaces:
- ComponentDescriptorCreator, org.codehaus.plexus.logging.LogEnabled
- public class DefaultComponentDescriptorCreator
- extends org.codehaus.plexus.logging.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
Method Summary |
void |
processSources(java.io.File[] sourceDirectories,
java.io.File outputDirectory)
|
void |
writeDependencies(org.codehaus.plexus.util.xml.XMLWriter w,
org.codehaus.plexus.component.repository.ComponentSetDescriptor componentSetDescriptor)
|
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultComponentDescriptorCreator
public DefaultComponentDescriptorCreator()
processSources
public void processSources(java.io.File[] sourceDirectories,
java.io.File outputDirectory)
throws ComponentDescriptorCreatorException
- Specified by:
processSources
in interface ComponentDescriptorCreator
- Throws:
ComponentDescriptorCreatorException
writeDependencies
public void writeDependencies(org.codehaus.plexus.util.xml.XMLWriter w,
org.codehaus.plexus.component.repository.ComponentSetDescriptor componentSetDescriptor)
Copyright © 2001-2007 Codehaus. All Rights Reserved.