org.objectweb.speedo.generation.mivisitor
Class MetaInfoVisitors
java.lang.Object
org.objectweb.speedo.generation.lib.AbstractGeneratorComponent
org.objectweb.speedo.generation.mivisitor.MetaInfoVisitors
- All Implemented Interfaces:
- GeneratorComponent
- Direct Known Subclasses:
- EJBSMIVisitor, JDOSMIVisitor
public abstract class MetaInfoVisitors
- extends AbstractGeneratorComponent
Visit the speedo meta information in order to fill the meta information with
the part forgotten by the user. this class is the generic implementation.
It must me extended for specializing the list of visitors.
- Author:
- S.Chassande-Barrioz
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER_NAME
public static final java.lang.String LOGGER_NAME
- See Also:
- Constant Field Values
MetaInfoVisitors
public MetaInfoVisitors(Personality p)
getMIVisitors
protected abstract AbstractMetaInfoVisitor[] getMIVisitors()
init
public boolean init()
throws SpeedoException
- Description copied from interface:
GeneratorComponent
- Initializes the component
- Specified by:
init
in interface GeneratorComponent
- Specified by:
init
in class AbstractGeneratorComponent
- Returns:
- boolean value indicating if the process method can be called.
- Throws:
SpeedoException
- if the component initialization fails
getTitle
public java.lang.String getTitle()
- Specified by:
getTitle
in interface GeneratorComponent
- Overrides:
getTitle
in class AbstractGeneratorComponent
- Returns:
- a short string (less than 30 characters) representing the
title of the component. This string must indicate job of the component.
process
public void process()
throws SpeedoException
- Description copied from interface:
GeneratorComponent
- Do the job of the component.
- Specified by:
process
in interface GeneratorComponent
- Specified by:
process
in class AbstractGeneratorComponent
- Throws:
SpeedoException
- if the component initialization fails