com.springsource.bundlor.support.contributors
Class SpringApplicationContextArtefactAnalyser
java.lang.Object
com.springsource.bundlor.support.contributors.AbstractXmlDocumentArtefactAnalyser
com.springsource.bundlor.support.contributors.AbstractXmlConfigurationArtifactAnalyzer
com.springsource.bundlor.support.contributors.SpringApplicationContextArtefactAnalyser
- All Implemented Interfaces:
- ArtifactAnalyzer
public final class SpringApplicationContextArtefactAnalyser
- extends AbstractXmlConfigurationArtifactAnalyzer
An analyzer for an Application Context located in a JAR file. Analyzes the list of package names that are found in
bean declaration class
attributes.
Concurrent Semantics
Not threadsafe.
- Author:
- Ben Hale
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_ATTRIBUTES
private static final java.lang.String CLASS_ATTRIBUTES
- See Also:
- Constant Field Values
CLASS_VALUES
private static final java.lang.String CLASS_VALUES
- See Also:
- Constant Field Values
PACKAGE_ATTRIBUTES
private static final java.lang.String PACKAGE_ATTRIBUTES
- See Also:
- Constant Field Values
NAMESPACE_MAPPING
private static final java.util.Map<java.lang.String,java.lang.String> NAMESPACE_MAPPING
SpringApplicationContextArtefactAnalyser
public SpringApplicationContextArtefactAnalyser()
getClassAttributesXPathExpression
protected java.lang.String getClassAttributesXPathExpression()
- Specified by:
getClassAttributesXPathExpression
in class AbstractXmlConfigurationArtifactAnalyzer
getClassValueXPathExpression
protected java.lang.String getClassValueXPathExpression()
- Specified by:
getClassValueXPathExpression
in class AbstractXmlConfigurationArtifactAnalyzer
getPackageXPathExpression
protected java.lang.String getPackageXPathExpression()
- Specified by:
getPackageXPathExpression
in class AbstractXmlConfigurationArtifactAnalyzer
getNamespaceMapping
protected java.util.Map<java.lang.String,java.lang.String> getNamespaceMapping()
- Specified by:
getNamespaceMapping
in class AbstractXmlConfigurationArtifactAnalyzer
canAnalyse
public boolean canAnalyse(java.lang.String artifactName)
- Description copied from interface:
ArtifactAnalyzer
- Can this
ArtifactAnalyzer
analyse the artefact with the supplied name.
- Returns:
true
if the artefact can be analysed; otherwise false
.