|
Keel 2.1RC2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.ObjectAbstractQdoxTask
org.apache.avalon.fortress.tools.ComponentMetaInfoCollector
ANT task to collect all the meta information for the components.
| Field Summary | |
private java.io.File |
m_destDirThe destination directory for metadata files. |
private java.io.File |
m_serviceFileThe service list destination. |
private java.util.Map |
m_servicesThe services to write the meta info for. |
private static java.lang.String |
TAG_COMPONENT |
| Constructor Summary | |
ComponentMetaInfoCollector() |
|
| Method Summary | |
private void |
collectInfoMetaData()Output the metadata files. |
void |
execute()Execute generator task. |
protected Service |
getService(java.lang.String type)Get the unique Service object for the specified type. |
void |
setDestDir(java.io.File destDir)Set the destination directory for the meta information. |
private void |
validate()Validate that the parameters are valid. |
private void |
writeComponents()Write the component meta information to the associated files. |
void |
writeServiceList(java.util.Iterator it)Write the service list to the "/service.list" file. |
private void |
writeServices()Collect all the services and write out the implementations. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private final java.util.Map m_services
private java.io.File m_destDir
private java.io.File m_serviceFile
private static final java.lang.String TAG_COMPONENT
| Constructor Detail |
public ComponentMetaInfoCollector()
| Method Detail |
public void setDestDir(java.io.File destDir)
destDir - The destination directory
public void execute()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException - if there was a problem collecting the info
private void writeComponents()
throws java.io.IOException,
CyclicDependencyException
java.io.IOException - if there is a problem.CyclicDependencyException
public void writeServiceList(java.util.Iterator it)
throws java.io.IOException
it - The iterator for the servicesjava.io.IOException - if there is a problem writing the fileprivate void validate()
private void collectInfoMetaData()
protected Service getService(java.lang.String type)
type - The service type nameprivate void writeServices()
|
Keel 2.1RC2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||