|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.ews.ws4j2ee.toWs.AbstractWriter org.apache.geronimo.ews.ws4j2ee.toWs.JavaClassWriter org.apache.geronimo.ews.ws4j2ee.toWs.ejb.SessionBeanWriter
This class can be used to write the appropriate SessionBean class for the given port type. A Stateless Session Bean, as defined by the Enterprise JavaBeans specification, can be used to implement a Web service to be deployed in the EJB container. A Stateless Session Bean does not have to worry about multi-threaded access. The EJB container is required to serialize request flow through any particular instance of a Service Implementation Bean. The requirements for creating a Service Implementation Bean as a Stateless Session EJB are repeated in part here.
An existing Enterprise JavaBean may be used as a Service Implementation Bean if it meets the following requirements:
Field Summary | |
protected EJBContext |
ejbcontext
|
Fields inherited from class org.apache.geronimo.ews.ws4j2ee.toWs.JavaClassWriter |
classname, packageName, qulifiedName |
Fields inherited from class org.apache.geronimo.ews.ws4j2ee.toWs.AbstractWriter |
j2eewscontext, log, out |
Constructor Summary | |
SessionBeanWriter(J2EEWebServiceContext context,
EJBContext ejbcontext)
Constructs a SessionBeanWriter. |
Method Summary | |
protected java.lang.String |
getimplementsPart()
|
protected boolean |
isOverWrite()
|
protected void |
writeAttributes()
|
protected void |
writeConstructors()
|
protected void |
writeMethods()
|
Methods inherited from class org.apache.geronimo.ews.ws4j2ee.toWs.JavaClassWriter |
getExtendsPart, writeClassComment, writeCode, writeImportStatements |
Methods inherited from class org.apache.geronimo.ews.ws4j2ee.toWs.AbstractWriter |
cleanUp, prepare, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected EJBContext ejbcontext
Constructor Detail |
public SessionBeanWriter(J2EEWebServiceContext context, EJBContext ejbcontext) throws GenerationFault
GenerationFault
Method Detail |
protected void writeAttributes() throws GenerationFault
writeAttributes
in class JavaClassWriter
GenerationFault
protected void writeConstructors() throws GenerationFault
writeConstructors
in class JavaClassWriter
GenerationFault
protected void writeMethods() throws GenerationFault
writeMethods
in class JavaClassWriter
GenerationFault
protected java.lang.String getimplementsPart()
getimplementsPart
in class JavaClassWriter
protected boolean isOverWrite()
isOverWrite
in class AbstractWriter
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |