|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.ejb.gen.View
com.caucho.ejb.gen.StatelessView
public class StatelessView
Represents any stateless view.
| Field Summary |
|---|
| Fields inherited from class com.caucho.ejb.gen.View |
|---|
_api, _bean |
| Constructor Summary | |
|---|---|
StatelessView(StatelessGenerator bean,
ApiClass api)
|
|
| Method Summary | |
|---|---|
protected void |
addBusinessMethod(ApiMethod apiMethod)
|
protected BusinessMethodGenerator |
createMethod(ApiMethod apiMethod,
int index)
|
protected ApiMethod |
findImplMethod(ApiMethod apiMethod)
|
void |
generate(JavaWriter out)
Generates the view code. |
void |
generateCreateProvider(JavaWriter out,
java.lang.String var)
Generates code to create the provider |
protected void |
generateExtends(JavaWriter out)
|
protected void |
generateSuper(JavaWriter out,
java.lang.String serverVar)
|
protected java.lang.String |
getBeanClassName()
|
java.lang.String |
getContextClassName()
|
java.util.ArrayList<? extends BusinessMethodGenerator> |
getMethods()
Returns the introspected methods |
StatelessGenerator |
getStatelessBean()
|
protected java.lang.String |
getViewClassName()
|
void |
introspect()
Introspects the APIs methods, producing a business method for each. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatelessView(StatelessGenerator bean,
ApiClass api)
| Method Detail |
|---|
public StatelessGenerator getStatelessBean()
public java.lang.String getContextClassName()
protected java.lang.String getViewClassName()
getViewClassName in class Viewprotected java.lang.String getBeanClassName()
getBeanClassName in class Viewpublic java.util.ArrayList<? extends BusinessMethodGenerator> getMethods()
getMethods in class Viewpublic void introspect()
introspect in class Viewprotected void addBusinessMethod(ApiMethod apiMethod)
public void generateCreateProvider(JavaWriter out,
java.lang.String var)
throws java.io.IOException
java.io.IOException
protected void generateExtends(JavaWriter out)
throws java.io.IOException
java.io.IOException
protected BusinessMethodGenerator createMethod(ApiMethod apiMethod,
int index)
public void generate(JavaWriter out)
throws java.io.IOException
generate in class Viewjava.io.IOException
protected void generateSuper(JavaWriter out,
java.lang.String serverVar)
throws java.io.IOException
java.io.IOExceptionprotected ApiMethod findImplMethod(ApiMethod apiMethod)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||