|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.avalon.fortress.tools.ComponentMetaInfoCollector
QDox-based engine to collect all the meta information for the components. This common class is utilized by both Ant and Maven plgins, and possibly others in the future.
| Field Summary | |
protected java.util.ArrayList |
m_allClasses
The list of classes to extract metadata from |
protected BuildLogger |
m_logger
To log messages - varies by build system used |
| Constructor Summary | |
ComponentMetaInfoCollector(BuildLogger logger)
|
|
| Method Summary | |
void |
execute()
Execute generator task. |
protected org.apache.avalon.fortress.tools.Service |
getService(java.lang.String type)
Get the unique Service object for the specified type. |
void |
setAllClasses(java.util.ArrayList allClasses)
Set the list of classes to extract metadata from |
void |
setDestDir(java.io.File destDir)
Set the destination directory for the meta information. |
void |
writeServiceList(java.util.Iterator it)
Write the service list to the "/service.list" file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected BuildLogger m_logger
protected java.util.ArrayList m_allClasses
| Constructor Detail |
public ComponentMetaInfoCollector(BuildLogger logger)
| Method Detail |
public void execute()
throws java.lang.Exception
BuildException - if there was a problem collecting the info
java.lang.Exception
public void writeServiceList(java.util.Iterator it)
throws java.io.IOException
it - The iterator for the services
java.io.IOException - if there is a problem writing the fileprotected org.apache.avalon.fortress.tools.Service getService(java.lang.String type)
type - The service type name
public void setAllClasses(java.util.ArrayList allClasses)
allClasses - The list of classespublic void setDestDir(java.io.File destDir)
destDir - The destination directory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||