|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.scrplugin.tags.JavaClassDescriptorManager
public class JavaClassDescriptorManager
JavaClassDescriptorManager.java
...
Field Summary | |
---|---|
protected java.lang.ClassLoader |
classloader
The classloader used to compile the classes. |
protected java.util.Map |
componentDescriptions
The component definitions from other bundles hashed by classname. |
protected java.util.Map |
javaClassDescriptions
A cache containing the java class descriptions hashed by classname. |
protected org.apache.maven.plugin.logging.Log |
log
The maven log. |
protected org.apache.maven.project.MavenProject |
project
The maven project. |
protected static java.lang.String |
SERVICE_COMPONENT
|
protected com.thoughtworks.qdox.model.JavaSource[] |
sources
The sources read by qdox. |
Constructor Summary | |
---|---|
JavaClassDescriptorManager(org.apache.maven.plugin.logging.Log log,
org.apache.maven.project.MavenProject project,
java.lang.String excludeString)
Construct a new manager. |
Method Summary | |
---|---|
java.lang.ClassLoader |
getClassLoader()
Return the class laoder. |
protected java.lang.ClassLoader |
getCompileClassLoader()
|
protected java.io.File |
getFile(org.apache.maven.artifact.Artifact artifact,
java.lang.String path)
|
JavaClassDescription |
getJavaClassDescription(java.lang.String className)
Get a java class description for the class. |
org.apache.maven.plugin.logging.Log |
getLog()
Return the log. |
protected java.util.jar.Manifest |
getManifest(org.apache.maven.artifact.Artifact artifact)
|
org.apache.maven.project.MavenProject |
getProject()
Return the project. |
JavaClassDescription[] |
getSourceDescriptions()
Return all source descriptions of this project. |
protected Components |
parseServiceComponentDescriptor(org.apache.maven.artifact.Artifact artifact,
java.io.File file)
|
protected Components |
readServiceComponentDescriptor(org.apache.maven.artifact.Artifact artifact,
java.lang.String entry)
Read the service component description. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String SERVICE_COMPONENT
protected final com.thoughtworks.qdox.model.JavaSource[] sources
protected final org.apache.maven.plugin.logging.Log log
protected final java.lang.ClassLoader classloader
protected final java.util.Map javaClassDescriptions
protected final java.util.Map componentDescriptions
protected final org.apache.maven.project.MavenProject project
Constructor Detail |
---|
public JavaClassDescriptorManager(org.apache.maven.plugin.logging.Log log, org.apache.maven.project.MavenProject project, java.lang.String excludeString) throws org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionException
log
- project
-
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
Method Detail |
---|
public org.apache.maven.plugin.logging.Log getLog()
public java.lang.ClassLoader getClassLoader()
public org.apache.maven.project.MavenProject getProject()
protected Components readServiceComponentDescriptor(org.apache.maven.artifact.Artifact artifact, java.lang.String entry)
artifact
- entry
-
java.io.IOException
org.apache.maven.plugin.MojoExecutionException
protected Components parseServiceComponentDescriptor(org.apache.maven.artifact.Artifact artifact, java.io.File file) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected java.lang.ClassLoader getCompileClassLoader() throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureException
protected java.util.jar.Manifest getManifest(org.apache.maven.artifact.Artifact artifact) throws java.io.IOException
java.io.IOException
protected java.io.File getFile(org.apache.maven.artifact.Artifact artifact, java.lang.String path) throws java.io.IOException
java.io.IOException
public JavaClassDescription[] getSourceDescriptions() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public JavaClassDescription getJavaClassDescription(java.lang.String className) throws org.apache.maven.plugin.MojoExecutionException
className
-
org.apache.maven.plugin.MojoExecutionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |