java.lang.Object | |
↳ | com.microstrategy.web.servant.ServantGenerator |
This class is responsible for creating the Service Endpoint (or "Servant") class from a definition of the endpoint.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
class | ServantGenerator.JavaGenerator | This class is used to generate portion of a Java class. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ServantGenerator() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
generateAxis2ServicesXml()
Generate the Axis2 Services XML file.
| ||||||||||
void |
generateServant()
Generate a Servant class given the information suppplied in the
ClassInfo.
| ||||||||||
File |
getEndpointFile()
Returns the File that represents the endpoint definition
XML.
| ||||||||||
File |
getServantOutputDirectory()
Returns the servant output directory.
| ||||||||||
File |
getServicesXmlDirectory()
Returns the services XML output directory.
| ||||||||||
static void |
main(String[] args)
Process the command line arguments and generate the servant
class and services XML file.
| ||||||||||
void |
parseEndpointFile()
Parse the endpoint definition (XML) file.
| ||||||||||
void |
setEndpointFile(File xmlFile)
Sets the File that represents the endpoint definition
XML.
| ||||||||||
void |
setServantOutputDirectory(File servantOutputDir)
Sets the servant output directory.
| ||||||||||
void |
setServantTarget(ServantTargetInfo servantTarget)
Sets the private member which identifies the web service platform
| ||||||||||
void |
setServicesXmlDirectory(File servicesXmlDir)
Sets the services XML output directory.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Generate the Axis2 Services XML file.
IllegalStateException | If no ClassInfo object is associated with this object or the ClassInfo object is not complete. |
---|
Generate a Servant class given the information suppplied in the ClassInfo.
IllegalStateException | If no ClassInfo object is associated with this object or the ClassInfo object is not complete. |
---|
Returns the File that represents the endpoint definition XML.
Returns the servant output directory.
Returns the services XML output directory.
Process the command line arguments and generate the servant class and services XML file.
args | The command line arguments... |
---|
Parse the endpoint definition (XML) file. The results are saved in the ClassInfo instance associated with this object.
Exception | If parsing fails. |
---|---|
IllegalStateException | If the endpoint XML is not specified or does not exist. |
Sets the File that represents the endpoint definition XML.
xmlFile | The file that represents the endpoint definition XML. |
---|
Sets the servant output directory.
servantOutputDir | The servant output directory (as a File). |
---|
Sets the private member which identifies the web service platform
Sets the services XML output directory.
servicesXmlDir | The services XML output directory (as a File). |
---|