|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.avalon.fortress.tools.ComponentMetaInfoCollector
public final class 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 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(String type)
Get the unique Service object for the specified type. |
void |
setAllClasses(ArrayList allClasses)
Set the list of classes to extract metadata from |
void |
setDestDir(File destDir)
Set the destination directory for the meta information. |
void |
writeServiceList(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 ArrayList m_allClasses
| Constructor Detail |
|---|
public ComponentMetaInfoCollector(BuildLogger logger)
| Method Detail |
|---|
public void execute()
throws Exception
BuildException - if there was a problem collecting the info
Exception
public void writeServiceList(Iterator it)
throws IOException
it - The iterator for the services
IOException - if there is a problem writing the fileprotected org.apache.avalon.fortress.tools.Service getService(String type)
type - The service type name
public void setAllClasses(ArrayList allClasses)
allClasses - The list of classespublic void setDestDir(File destDir)
destDir - The destination directory
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||