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
Deprecated. Use {#link ComponentDescriptorExtractor}.
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 7273 2008-04-10 15:50:00Z brett $
- Author:
- Jason van Zyl, Trygve Laugstøl
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()
- Deprecated.
processSources
public void processSources(File[] sourceDirectories,
File outputFile)
throws ComponentDescriptorCreatorException
- Deprecated.
- Specified by:
processSources
in interface ComponentDescriptorCreator
- Throws:
ComponentDescriptorCreatorException
processSources
public void processSources(File[] sourceDirectories,
File outputFile,
boolean containerDescriptor,
ComponentDescriptor[] roleDefaults)
throws ComponentDescriptorCreatorException
- Deprecated.
- Specified by:
processSources
in interface ComponentDescriptorCreator
- Throws:
ComponentDescriptorCreatorException
mergeDescriptors
public void mergeDescriptors(File outputDescriptor,
List descriptors)
throws ComponentDescriptorCreatorException
- Deprecated.
- Specified by:
mergeDescriptors
in interface ComponentDescriptorCreator
- Throws:
ComponentDescriptorCreatorException
writeDependencies
public void writeDependencies(org.codehaus.plexus.util.xml.XMLWriter w,
ComponentSetDescriptor componentSetDescriptor)
- Deprecated. do not use. Signature still here for compilation errors at runtime,
but I doubt this is ever called.
Copyright © 2001-2012 Codehaus. All Rights Reserved.