org.apache.felix.scrplugin.mojo
Class MavenJavaClassDescriptorManager
java.lang.Object
org.apache.felix.scrplugin.JavaClassDescriptorManager
org.apache.felix.scrplugin.mojo.MavenJavaClassDescriptorManager
public class MavenJavaClassDescriptorManager
- extends JavaClassDescriptorManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MavenJavaClassDescriptorManager
public MavenJavaClassDescriptorManager(org.apache.maven.project.MavenProject project,
Log log,
ClassLoader classLoader,
String[] annotationTagProviders,
String excludeString,
boolean parseJavadocs,
boolean processAnnotations)
throws SCRDescriptorFailureException
- Throws:
SCRDescriptorFailureException
getOutputDirectory
public String getOutputDirectory()
- Description copied from class:
JavaClassDescriptorManager
- Returns the absolute filesystem path to the directory where the classes
compiled from the java source files (see
JavaClassDescriptorManager.getSources()
) have been
placed.
This method is called to find the class files to which bind and unbind
methods are to be added.
- Specified by:
getOutputDirectory
in class JavaClassDescriptorManager
getSourceFiles
protected Iterator<File> getSourceFiles()
- Description copied from class:
JavaClassDescriptorManager
- Returns an iterator of paths to directories providing Java source files
to be parsed.
This method is called by the default JavaClassDescriptorManager.getSources()
implementation
to return the root directories for the Java files to be parsed. This
default implementation returns an empty iterator. Implementations of this
class not overwriting the JavaClassDescriptorManager.getSources()
method should overwrite
this method by providing the concrete source locations.
- Overrides:
getSourceFiles
in class JavaClassDescriptorManager
- Returns:
- An iterator of Java source locations.
getDependencies
protected List<File> getDependencies()
- Description copied from class:
JavaClassDescriptorManager
- Returns a list of files denoting dependencies of the module for which
descriptors are to be generated. The returned dependencies are expected
to be bundles which may (or may not) contain Service Component
descriptors (or internal descriptors in the case of abstract components
not listed in the "official" descriptors).
This method is called by the JavaClassDescriptorManager.getComponentDescriptors()
method in
this class to get the list of bundles from where base component
descriptors are to be extracted.
Extensions of this class not overwriting the
JavaClassDescriptorManager.getComponentDescriptors()
method should overwrite this method if
they wish to provide such base component descriptors.
- Overrides:
getDependencies
in class JavaClassDescriptorManager
- Returns:
Copyright © 2011 Apache Software Foundation. All Rights Reserved.