org.apache.muse.tools.generator.analyzer
Class SimpleAnalyzer
java.lang.Object
org.apache.muse.tools.generator.analyzer.SimpleAnalyzer
- All Implemented Interfaces:
- Analyzer, Configurable
public class SimpleAnalyzer
- extends Object
- implements Analyzer
SimpleAnalyzer is a canonical implementation of an Analyzer
. This
class will take in a description of a resource (using WSDL and/or a Muse descriptor).
Using these documents it will create a map of Capability
objects which
describe the resource as a set of capabilities. The class takes into account
built-in capabilities and their related operations/properties. For user-defined
capabilities, there are special steps taken to group operations and properties into
capabilities. See the project tools documentation for more information.
- Author:
- Andrew Eberbach (aeberbac)
- See Also:
Analyzer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleAnalyzer
public SimpleAnalyzer()
analyze
public ConfigurationData analyze(ConfigurationData configuration)
throws Exception
- Uses the
ResourceInspector
to analyze a given WSDL file and
extract the capabilities it contains. Capabilities are grouped by namespace URI
but special exception is made to "built-in" capabilities and standard capabilities
defined by the standards bodies.
- Specified by:
analyze
in interface Analyzer
- Parameters:
configuration
- Contains the parameters for the analyzer
- Returns:
- A new
ConfigurationData
which has been cloned from the original
which contains the results of the analysis.
- Throws:
Exception
- If any problems occur during analysis.- See Also:
Configurable
getConfigurationDataDescriptions
public ConfigurationDataDescriptor[] getConfigurationDataDescriptions()
- Returns
REQUIRED_PARAMETERS
which is a descriptor of
the parameters we need at a bare minimum.
- Specified by:
getConfigurationDataDescriptions
in interface Configurable
- Returns:
- A list of descriptors for the parameters we need to run.
- See Also:
Configurable.getConfigurationDataDescriptions()
Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.