|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.scrplugin.SCRDescriptorGenerator
public class SCRDescriptorGenerator
The SCRDescriptorGenerator
class does the hard work of
generating the SCR descriptors. This class is being instantiated and
configured by clients and the execute()
method called to generate
the descriptor files.
When using this class carefully consider calling all setter methods to properly configure the generator. All setter method document, which default value is assumed for the respective property if the setter is not called.
Instances of this class are not thread save and should not be reused.
Constructor Summary | |
---|---|
SCRDescriptorGenerator(Log logger)
Create an instance of this generator using the given Log instance
of logging. |
Method Summary | |
---|---|
Result |
execute()
Actually generates the Declarative Services and Metatype descriptors scanning the java sources provided by the setProject(Project) |
void |
setOptions(Options p)
Set the options. |
void |
setProject(Project p)
Set the project. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SCRDescriptorGenerator(Log logger)
Log
instance
of logging.
Method Detail |
---|
public void setProject(Project p)
public void setOptions(Options p)
public Result execute() throws SCRDescriptorException, SCRDescriptorFailureException
setProject(Project)
SCRDescriptorException
SCRDescriptorFailureException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |