|
||||||||||
| 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
com.caucho.ejb.gen.StatelessObjectView
public class StatelessObjectView
Represents any stateless view.
| Field Summary |
|---|
| Fields inherited from class com.caucho.ejb.gen.View |
|---|
_api, _bean |
| Constructor Summary | |
|---|---|
StatelessObjectView(StatelessGenerator bean,
ApiClass api)
|
|
| Method Summary | |
|---|---|
protected ApiMethod |
findImplMethod(ApiMethod apiMethod)
|
void |
generate(JavaWriter out)
Generates the view code. |
void |
generateBean(JavaWriter out)
Generates the view code. |
void |
generateContextHomeConstructor(JavaWriter out)
Generates context home's constructor |
void |
generateContextPrologue(JavaWriter out)
Generates prologue for the context. |
void |
generateCreateProvider(JavaWriter out,
java.lang.String var)
Generates code to create the provider |
void |
generateDestroy(JavaWriter out)
Generates code to create the provider |
protected void |
generateExtends(JavaWriter out)
|
void |
generateProxy(JavaWriter out)
Generates the view code. |
void |
generateProxyCall(JavaWriter out,
java.lang.reflect.Method implMethod)
|
void |
generateProxyPool(JavaWriter out)
|
protected void |
generateSuper(JavaWriter out,
java.lang.String serverVar)
|
void |
generateTimer(JavaWriter out)
Generates timer code |
void |
introspect()
Introspects the APIs methods, producing a business method for each. |
void |
introspectLifecycle(java.lang.Class cl)
Introspects the lifecycle methods |
void |
introspectTimer(ApiClass apiClass)
Introspects the lifecycle methods |
| Methods inherited from class com.caucho.ejb.gen.StatelessView |
|---|
addBusinessMethod, createMethod, getBeanClassName, getContextClassName, getMethods, getStatelessBean, getViewClassName |
| Methods inherited from class com.caucho.ejb.gen.View |
|---|
generateBusinessConstructor, generateBusinessConstructor, generateBusinessMethods, generateBusinessPrologue, generateBusinessPrologue, generateContextObjectConstructor, getApi, getAroundInvokeMethod, getBean, getEjbClass, getFullMethodName, getFullMethodName, getFullMethodName, isRemote |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatelessObjectView(StatelessGenerator bean,
ApiClass api)
| Method Detail |
|---|
public void introspect()
introspect in class StatelessViewpublic void introspectLifecycle(java.lang.Class cl)
public void introspectTimer(ApiClass apiClass)
public void generateContextPrologue(JavaWriter out)
throws java.io.IOException
generateContextPrologue in class Viewjava.io.IOException
public void generateContextHomeConstructor(JavaWriter out)
throws java.io.IOException
generateContextHomeConstructor in class Viewjava.io.IOException
public void generateCreateProvider(JavaWriter out,
java.lang.String var)
throws java.io.IOException
generateCreateProvider in class StatelessViewjava.io.IOException
public void generateDestroy(JavaWriter out)
throws java.io.IOException
generateDestroy in class Viewjava.io.IOException
public void generate(JavaWriter out)
throws java.io.IOException
generate in class StatelessViewjava.io.IOException
public void generateBean(JavaWriter out)
throws java.io.IOException
java.io.IOException
public void generateProxy(JavaWriter out)
throws java.io.IOException
java.io.IOException
protected void generateExtends(JavaWriter out)
throws java.io.IOException
generateExtends in class StatelessViewjava.io.IOException
public void generateProxyPool(JavaWriter out)
throws java.io.IOException
java.io.IOException
public void generateProxyCall(JavaWriter out,
java.lang.reflect.Method implMethod)
throws java.io.IOException
java.io.IOException
protected void generateSuper(JavaWriter out,
java.lang.String serverVar)
throws java.io.IOException
generateSuper in class StatelessViewjava.io.IOException
public void generateTimer(JavaWriter out)
throws java.io.IOException
View
generateTimer in class Viewjava.io.IOExceptionprotected ApiMethod findImplMethod(ApiMethod apiMethod)
findImplMethod in class StatelessView
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||