org.apache.muse.tools.generator.synthesizer
Class ServerSynthesizer
java.lang.Object
org.apache.muse.tools.generator.synthesizer.ServerSynthesizer
- All Implemented Interfaces:
- Synthesizer, Configurable
public class ServerSynthesizer
- extends Object
- implements Synthesizer
A Synthesizer
implementation that creates
the server-side stubs for a set of capabilities. This involves creating
accessors and constants for any properties and creating the operation
templates that are to be filled-in by implementors. Unlike
ProxyGenerator
the code that comes out of this
phase will throw Exceptions when any method is invoked because by
default the methods have no implementation and simply throw
new RuntimeException("Unimplemented Method");");
- Author:
- Andrew Eberbach (aeberbac)
- See Also:
Synthesizer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerSynthesizer
public ServerSynthesizer()
synthesize
public ConfigurationData synthesize(ConfigurationData data)
throws Exception
- Specified by:
synthesize
in interface Synthesizer
- Throws:
Exception
getConfigurationDataDescriptions
public ConfigurationDataDescriptor[] getConfigurationDataDescriptions()
- Description copied from interface:
Configurable
- Gets a list of elements that contain metadata about
parameters used during code generation.
- Specified by:
getConfigurationDataDescriptions
in interface Configurable
- Returns:
- An array that represents the minimum necessary parameters needed
to run this class.
- See Also:
ConfigurationData
,
Analyzer
,
Synthesizer
,
Projectizer
Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.