org.apache.geronimo.ews.ws4j2ee.toWs.ejb
Class EJBLocalHomeWriter

java.lang.Object
  extended byorg.apache.geronimo.ews.ws4j2ee.toWs.AbstractWriter
      extended byorg.apache.geronimo.ews.ws4j2ee.toWs.JavaInterfaceWriter
          extended byorg.apache.geronimo.ews.ws4j2ee.toWs.ejb.EJBLocalHomeWriter
All Implemented Interfaces:
Writer

public class EJBLocalHomeWriter
extends JavaInterfaceWriter

This class can be used to write the appropriate EJB LocalHome interface class for the given port type.

Author:
Rajith Priyanga, Srinath Perera

Field Summary
protected  EJBContext ejbcontext
           
 
Fields inherited from class org.apache.geronimo.ews.ws4j2ee.toWs.JavaInterfaceWriter
classname, packageName, qulifiedName
 
Fields inherited from class org.apache.geronimo.ews.ws4j2ee.toWs.AbstractWriter
j2eewscontext, log, out
 
Constructor Summary
EJBLocalHomeWriter(J2EEWebServiceContext context, EJBContext ejbcontext)
          Constructs a EJBLocalHomeWriter.
 
Method Summary
protected  java.lang.String getExtendsPart()
           
protected  void writeAttributes()
           
protected  void writeMethods()
           
 
Methods inherited from class org.apache.geronimo.ews.ws4j2ee.toWs.JavaInterfaceWriter
writeClassComment, writeCode, writeImportStatements
 
Methods inherited from class org.apache.geronimo.ews.ws4j2ee.toWs.AbstractWriter
cleanUp, isOverWrite, prepare, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ejbcontext

protected EJBContext ejbcontext
Constructor Detail

EJBLocalHomeWriter

public EJBLocalHomeWriter(J2EEWebServiceContext context,
                          EJBContext ejbcontext)
                   throws GenerationFault
Constructs a EJBLocalHomeWriter.

Throws:
GenerationFault
Method Detail

writeAttributes

protected void writeAttributes()
                        throws GenerationFault
Specified by:
writeAttributes in class JavaInterfaceWriter
Throws:
GenerationFault

writeMethods

protected void writeMethods()
                     throws GenerationFault
Specified by:
writeMethods in class JavaInterfaceWriter
Throws:
GenerationFault

getExtendsPart

protected java.lang.String getExtendsPart()
Overrides:
getExtendsPart in class JavaInterfaceWriter


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.