org.apache.wsif.compiler
Class MessageCompiler

java.lang.Object
  |
  +--org.apache.wsif.compiler.MessageCompiler

public class MessageCompiler
extends java.lang.Object

The WSIF Message compiler. WSIF includes compilation of a number of entities, one being the WSIFMessage. Compiling WSIFMessages provides specific objects that only support a given message signature. This allows generated code that knows the message is compiled to access the parts of the message directly, with a very considerable performance improvement compared to the standard WSIFMessage interface.

Author:
Paul Fremantle, Matt Duftler, Ant Elder

Constructor Summary
MessageCompiler()
           
 
Method Summary
 void compileMessages(javax.wsdl.Definition def)
          This creates a Java class source file for each message in a WSDL Definition.
static void main(java.lang.String[] args)
          Compile WSDL messages.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageCompiler

public MessageCompiler()
Method Detail

compileMessages

public void compileMessages(javax.wsdl.Definition def)
                     throws WSIFException
This creates a Java class source file for each message in a WSDL Definition.
Parameters:
def - the WSDL Definition

main

public static void main(java.lang.String[] args)
Compile WSDL messages.
Parameters:
args - the command line parameters, see printUsage for details.


Copyright © 2002, 2002 Apache XML Project. All Rights Reserved.