| java.lang.Object com.caucho.ejb.cfg21.EjbView
All known Subclasses: com.caucho.ejb.cfg21.EjbHomeView, com.caucho.ejb.cfg.EjbObjectView,
EjbView | public class EjbView (Code) | | Configuration for a particular view.
|
Method Summary | |
protected void | assembleMethods(BeanAssembler assembler, ViewClass viewClass, String fullClassName) Assembles the generator methods. | protected void | assembleView(BeanAssembler assembler, String fullClassName) Assembles the generator. | protected EjbMethod | createBusinessMethod(ApiMethod apiMethod, ApiMethod implMethod) Creates a new business method. | public ConfigException | error(String msg) Returns an error. | protected ConfigException | errorMissingMethod(ApiClass expectedClass, String expectedName, ApiMethod matchMethod) | protected EjbMethodPattern | findMethodPattern(ApiMethod apiMethod, String prefix) Finds the matching method pattern. | protected ApiClass | getApiClass() | protected ArrayList<ApiClass> | getApiList() Returns the api class for the view. | public EjbBean | getBean() Returns the bean. | public static String | getClassName(Class cl) Returns a printable class name. | public static String | getFullMethodName(ApiMethod method) | public static String | getFullMethodName(String methodName, Class[] paramTypes) | public ApiClass | getImplClass() Returns the implementation class for the view. | public ArrayList<EjbMethod> | getMethods() Returns the list of methods. | public String | getPrefix() Returns the prefix. | public CallChain | getSecurityChain(CallChain callChain, ApiMethod apiMethod, String prefix) Returns the transaction chain. | public static String | getShortClassName(ApiClass cl) | protected String | getSuffix() Returns the suffix. | public CallChain | getTransactionChain(CallChain callChain, ApiMethod apiMethod, ApiMethod implMethod, String prefix) Returns the transaction chain. | protected void | introspect() Introspects the bean's methods. | protected EjbMethod | introspectApiMethod(ApiMethod apiMethod) Introspects a method in the view api which does not exist in
implementation bean. | protected EjbMethod | introspectBusinessMethod(ApiMethod implMethod) Introspects a business method. | protected EjbMethod | introspectEJBMethod(ApiMethod method) Introspects an ejb method. | protected boolean | isLocal() Returns true for a local view. | protected void | validateApiMethod(ApiMethod apiMethod) Validates an API method. | protected void | validateException(ApiMethod method, Class exn) Validate the exceptions. | protected void | validateExceptions(ApiMethod method, Class[] exn) Validate the exceptions. | protected void | validateImplMethod(ApiMethod implMethod) Validate impl method. |
assembleMethods | protected void assembleMethods(BeanAssembler assembler, ViewClass viewClass, String fullClassName) throws ConfigException(Code) | | Assembles the generator methods.
|
assembleView | protected void assembleView(BeanAssembler assembler, String fullClassName) throws ConfigException(Code) | | Assembles the generator.
|
error | public ConfigException error(String msg)(Code) | | Returns an error.
|
getClassName | public static String getClassName(Class cl)(Code) | | Returns a printable class name.
|
getImplClass | public ApiClass getImplClass()(Code) | | Returns the implementation class for the view.
|
getPrefix | public String getPrefix()(Code) | | Returns the prefix.
|
getSuffix | protected String getSuffix()(Code) | | Returns the suffix.
|
introspect | protected void introspect() throws ConfigException(Code) | | Introspects the bean's methods.
|
introspectApiMethod | protected EjbMethod introspectApiMethod(ApiMethod apiMethod) throws ConfigException(Code) | | Introspects a method in the view api which does not exist in
implementation bean.
|
introspectBusinessMethod | protected EjbMethod introspectBusinessMethod(ApiMethod implMethod) throws ConfigException(Code) | | Introspects a business method.
|
introspectEJBMethod | protected EjbMethod introspectEJBMethod(ApiMethod method) throws ConfigException(Code) | | Introspects an ejb method.
|
isLocal | protected boolean isLocal()(Code) | | Returns true for a local view.
|
validateApiMethod | protected void validateApiMethod(ApiMethod apiMethod) throws ConfigException(Code) | | Validates an API method.
|
validateException | protected void validateException(ApiMethod method, Class exn) throws ConfigException(Code) | | Validate the exceptions.
|
validateExceptions | protected void validateExceptions(ApiMethod method, Class[] exn) throws ConfigException(Code) | | Validate the exceptions.
|
validateImplMethod | protected void validateImplMethod(ApiMethod implMethod) throws ConfigException(Code) | | Validate impl method.
|
|
|