com.caucho.ejb.gen
Class MessageView
java.lang.Object
com.caucho.ejb.gen.View
com.caucho.ejb.gen.MessageView
public class MessageView
- extends View
Represents a public interface to a stateful bean, e.g. a stateful view
| Methods inherited from class com.caucho.ejb.gen.View |
generateBusinessConstructor, generateBusinessConstructor, generateBusinessMethods, generateBusinessPrologue, generateBusinessPrologue, generateContextHomeConstructor, generateContextObjectConstructor, generateContextPrologue, generateDestroy, generateTimer, getApi, getAroundInvokeMethod, getBean, getBeanClassName, getEjbClass, getFullMethodName, getFullMethodName, getFullMethodName, isRemote |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageView
public MessageView(MessageGenerator bean,
ApiClass api)
getMessageBean
public MessageGenerator getMessageBean()
getContextClassName
public java.lang.String getContextClassName()
getViewClassName
public java.lang.String getViewClassName()
- Overrides:
getViewClassName in class View
getMethods
public java.util.ArrayList<? extends BusinessMethodGenerator> getMethods()
- Returns the introspected methods
- Overrides:
getMethods in class View
introspect
public void introspect()
- Introspects the APIs methods, producing a business method for
each.
- Overrides:
introspect in class View
generate
public void generate(JavaWriter out)
throws java.io.IOException
- Generates the view code.
- Specified by:
generate in class View
- Throws:
java.io.IOException
createMethod
protected BusinessMethodGenerator createMethod(ApiMethod apiMethod,
int index)
findImplMethod
protected ApiMethod findImplMethod(ApiMethod apiMethod)