Java Doc for EjbBean.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » ejb » cfg » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » EJB Server resin 3.1.5 » resin » com.caucho.ejb.cfg 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.config.types.DescriptionGroupConfig
      com.caucho.ejb.cfg.EjbBean

All known Subclasses:   com.caucho.ejb.cfg21.Ejb21Bean,  com.caucho.ejb.cfg.EjbMessageBean,  com.caucho.ejb.cfg.EjbSessionBean,
EjbBean
public class EjbBean extends DescriptionGroupConfig implements EnvironmentBean,DependencyBean(Code)
Configuration for an ejb bean.


Field Summary
protected  BeanGenerator_bean
    
 ArrayList<String>_beanDependList
    
 ArrayList<PersistentDependency>_configDependList
    
 ArrayList<PersistentDependency>_dependList
    
protected  boolean_isContainerTransaction
    
protected  ClassLoader_jClassLoader
    
protected  ApiClass_localHome
    
protected  ArrayList<ApiClass>_localList
    
protected  ArrayList<EjbMethodPattern>_methodList
    
protected  ApiClass_remoteHome
    
protected  ArrayList<ApiClass>_remoteList
    

Constructor Summary
public  EjbBean(EjbConfig ejbConfig, String ejbModuleName)
     Creates a new entity bean configuration.

Method Summary
public  voidaddBeanDependency(String ejbName)
     Add a bean dependency.
public  voidaddBuilderProgram(ConfigProgram init)
     Adds an undefined value, e.g.
public  voidaddBusinessLocal(Class localClass)
    
public  voidaddBusinessRemote(Class remoteClass)
    
public  voidaddDepend(Path path)
     Add a dependency.
public  voidaddDependency(PersistentDependency depend)
     Add a dependency.
public  voidaddDependency(Class cl)
     Add a dependency.
public  voidaddDependencyList(ArrayList<PersistentDependency> dependList)
     Adds a list of dependencies.
protected  voidaddImports(BeanAssembler assembler)
     Adds the assemblers.
public  voidaddInitProgram(ConfigProgram init)
     Adds an init program.
public  voidaddInterceptor(Interceptor interceptor)
     Adds a new interceptor.
public  voidaddMethod(EjbMethodPattern method)
     Adds a method.
public  voidaddPostConstruct(PostConstructType postConstruct)
    
public  voidaddRemoveMethod(RemoveMethod removeMethod)
    
public  voidassembleBeanMethods()
     Introspects the bean's methods.
public  GenClassassembleGenerator(String fullClassName)
     Assembles the generator.
protected  voidassembleHomeMethods(BeanAssembler assembler, BaseClass baseClass, String contextClassName, ApiClass homeClass, String prefix)
    
protected  voidassembleMethods(BeanAssembler assembler, String fullClassName)
     Assembles the generator methods.
protected  voidassembleMethods(BeanAssembler assembler, ViewClass view, String contextClassName, ArrayList<ApiMethod> methods, String prefix)
     Assembles methods.
protected  voidassembleViews(BeanAssembler assembler, String fullClassName)
     Assembles the generator methods.
public  booleanclassHasMethod(ApiMethod method, ApiClass cl)
     Tests is a method is declared in a class.
public  voidconfigureAmber(AmberConfig config)
     Configure for amber.
public  booleancontainsInterceptor(String interceptorClassName)
     Returns true if the interceptor is already configured.
protected  BeanAssemblercreateAssembler(String fullClassName)
     Creates the assembler for the bean.
protected  BeanGeneratorcreateBeanGenerator()
    
protected  EjbHomeViewcreateHomeView(ApiClass homeClass, String prefix)
     Creates a home view.
public  MessageDestinationRefcreateMessageDestinationRef()
    
public  EjbMethodPatterncreateMethod(MethodSignature sig)
     Adds a method.
protected  EjbObjectViewcreateObjectView(ArrayList<ApiClass> apiList, String prefix, String suffix)
     Creates an object view.
protected  EjbObjectViewcreateRemoteObjectView(ArrayList<ApiClass> apiList, String prefix, String suffix)
    
protected  voidcreateViews21()
     Creates the views.
public  AbstractServerdeployServer(EjbContainer ejbContainer, JavaClassGenerator javaGen)
     Deploys the bean.
public  ConfigExceptionerror(String msg)
     Returns an error.
public  RuntimeExceptionerror(Exception e)
     Returns an error.
protected  ApiMethodfindFirstCreateMethod(ApiClass cl)
    
public static  ApiMethodfindMethod(MethodSignature sig, ApiClass cl, String intf)
     Finds the method in the class.
public static  ApiMethodfindMethod(ArrayList<ApiMethod> methods, ApiMethod method)
     Finds the method in the class.
 ClassfindMissingException(ApiMethod method, Class[] exn)
     Finds any exception in the exception array that the method isn't throwing.
Parameters:
  method - the method which should throw a superset of exceptions.
Parameters:
  exn - an array of exceptions the method should throw.
public  voidgenerate(JavaClassGenerator javaGen, boolean isAutoCompile)
     Generates the class.
public  StringgetAroundInvokeMethodName()
    
public  ArrayList<String>getBeanDependList()
     Gets the bean depend list.
public  ClassLoadergetClassLoader()
     Returns the class loader.
public static  StringgetClassName(Class cl)
     Returns a printable version of a class.
public  EjbConfiggetConfig()
    
public  ArrayList<PersistentDependency>getDependList()
     Gets the depend list.
public  ClassgetEJBClass()
     Gets the ejb implementation class.
public  StringgetEJBClassName()
     Gets the ejb implementation class.
public  ApiClassgetEJBClassWrapper()
     Gets the ejb implementation class.
public  StringgetEJBFullClassName()
     Gets the ejb implementation class.
public  StringgetEJBKind()
     Returns the kind of bean.
public  StringgetEJBModuleName()
    
public  StringgetEJBName()
    
public  EjbContainergetEjbContainer()
    
public  StringgetFilename()
    
public  StringgetFullImplName()
     Gets the implementation class name.
public static  StringgetFullMethodName(ApiMethod method)
     Returns a full method name with arguments.
public static  StringgetFullMethodName(String methodName, Class[] params)
     Returns a full method name with arguments.
public  ContainerProgramgetInitProgram()
     Gets the init program.
public  InterceptorgetInterceptor(String interceptorClassName)
     Returns the interceptor for a given class name.
public  ArrayList<Interceptor>getInterceptors()
     Returns the interceptors.
public  ArrayList<Interceptor>getInvokeInterceptors(String methodName)
     Returns the interceptors.
public  intgetLine()
    
public  ApiClassgetLocalHome()
     Gets the local home interface class.
public  ArrayList<ApiClass>getLocalList()
     Gets the local interface class.
public  StringgetLocation()
    
public  StringgetMappedName()
     The mapped-name is the published name used by IIOP, Hessian, and jndi-remote-prefix, jndi-local-prefix.
public  ApiMethodgetMethod(String methodName, Class[] paramTypes)
     Finds the method in the class.
public static  ApiMethodgetMethod(ApiClass cl, ApiMethod sourceMethod)
     Finds the method in the class.
public static  ApiMethodgetMethod(ArrayList<ApiClass> apiList, String name, Class[] param)
     Finds the method in the class.
public static  ApiMethodgetMethod(ApiClass cl, String name, Class[] param)
     Finds the method in the class.
public  ArrayList<EjbMethodPattern>getMethodList()
     returns the method list.
public  EjbMethodPatterngetMethodPattern(ApiMethod method, String intf)
     Gets the best method.
public static  ArrayList<ApiMethod>getMethods(ArrayList<ApiClass> apiList)
     Returns all the method in the class.
public  ClassgetRemoteClass()
     Gets the remote class.
public  ApiClassgetRemoteHome()
     Gets the ejb implementation class.
public  ClassgetRemoteHomeClass()
     Gets the remote home class.
public  ArrayList<ApiClass>getRemoteList()
     Gets the remote interface class.
public  RemoveMethodgetRemoveMethod(Method method)
     Returns the remove-method for the given method.
public  ArrayList<RemoveMethod>getRemoveMethods()
     Returns the remove-method list.
public  CallChaingetSecurityChain(CallChain next, ApiMethod method, String prefix)
    
public  ContainerProgramgetServerProgram()
     Gets the server program.
public static  StringgetShortClassName(Class cl)
     Returns a printable version of a class.
public  StringgetSkeletonName()
    
public  StringgetTimeoutMethodName()
     Returns the timeout method name.
public  TransactionAttributeTypegetTransactionAttribute(ApiMethod method, String intf)
     Returns the matching transaction attribute.
public  CallChaingetTransactionChain(CallChain next, ApiMethod apiMethod, ApiMethod implMethod, String prefix)
    
public  longgetTransactionTimeout()
     Gets the transaction timeout.
public  booleanhasException(ApiMethod method, Class exn)
    
public  voidinit()
     Configure initialization.
public  voidinitIntrospect()
     Configure initialization.
protected  voidintrospect()
    
protected  voidintrospectBean(ApiClass type, String defaultName)
    
protected  EjbBaseMethodintrospectEJBMethod(ApiMethod method)
     Introspects an ejb method.
public  booleanisAllowPOJO()
     Return true if POJO are allowed.
public  booleanisCMP()
    
public  booleanisCMP1()
    
public  booleanisContainerTransaction()
     Returns true if the transaction type is container.
public  booleanisEJB3()
    
public static  booleanisEquiv(ApiMethod oldMethod, ApiMethod method)
     True if we've already handled the method.
public static  booleanisMatch(ApiMethod methodA, ApiMethod methodB)
    
public static  booleanisMatch(ApiMethod method, String name, Class[] param)
    
protected  ClassloadClass(String className)
    
public  voidsetAllowPOJO(boolean allowPOJO)
     Sets true if POJO are allowed.
public  voidsetAroundInvoke(AroundInvokeConfig aroundInvoke)
    
public  voidsetAroundInvokeMethodName(String aroundInvokeMethodName)
    
public  voidsetConfigLocation(String filename, int line)
    
public  voidsetContainerTransaction(boolean isContainerTransaction)
     Returns true if the transaction type is container.
public  voidsetEJBClass(Class ejbClass)
     Sets the ejb implementation class.
public  voidsetEJBClassWrapper(ApiClass ejbClass)
     Sets the ejb implementation class.
public  voidsetEJBName(String ejbName)
    
public  voidsetHome(Class homeClass)
     Sets the remote home interface class.
public  voidsetInit(ContainerProgram init)
    
public  voidsetLocal(Class local)
    
public  voidsetLocalHome(Class localHomeClass)
    
public  voidsetLocalHomeWrapper(ApiClass localHome)
     Sets the local home interface class.
public  voidsetLocalWrapper(ApiClass local)
     Sets the local interface class.
public  voidsetLocation(String location)
    
public  voidsetMappedName(String mappedName)
     The mapped-name is the remote published name used by IIOP, Hessian, and jndi-remote-prefix, jndi-local-prefix.
public  voidsetRemote(Class remote)
    
public  voidsetRemoteHomeWrapper(ApiClass remoteHome)
     Sets the remote home interface class.
public  voidsetRemoteWrapper(ApiClass remote)
     Sets the remote interface class.
public  voidsetSecurityIdentity(EjbSecurityIdentity securityIdentity)
    
public  voidsetTransactionTimeout(Period timeout)
     Sets the transaction timeout.
public  StringtoString()
    
public  voidvalidateException(ApiMethod method, Class e)
    
public  voidvalidateExceptions(ApiMethod method, Class[] exn)
     Check that the method throws the expected exceptions.
public  voidvalidateExceptions(ApiMethod caller, ApiMethod callee)
    
protected  voidvalidateImplMethod(ApiMethod method)
     Validates an implementation method.
protected  ApiMethodvalidateMethod(String methodName, Class[] param)
    
protected  ApiMethodvalidateMethod(String methodName, Class[] param, ApiMethod sourceMethod, ApiClass sourceClass)
     Check that a method exists, is public and is not abstract.
protected  ApiMethodvalidateMethod(String methodName, Class[] param, ApiMethod sourceMethod, ApiClass sourceClass, boolean isOptional)
     Check that a method exists, is public and is not abstract.
protected  ApiMethodvalidateNonFinalMethod(String methodName, Class[] param, boolean isOptional)
    
protected  ApiMethodvalidateNonFinalMethod(String methodName, Class[] param)
    
protected  ApiMethodvalidateNonFinalMethod(String methodName, Class[] param, ApiMethod sourceMethod, ApiClass sourceClass)
    
protected  ApiMethodvalidateNonFinalMethod(String methodName, Class[] param, ApiMethod sourceMethod, ApiClass sourceClass, boolean isOptional)
     Check that a method exists, is public, not abstract, and not final.
protected  voidvalidatePublicMethod(ApiMethod method)
     Check that a method is public.
protected  voidvalidateRemote(ApiClass objectClass)
     Validates the remote interface.

Field Detail
_bean
protected BeanGenerator _bean(Code)



_beanDependList
ArrayList<String> _beanDependList(Code)



_configDependList
ArrayList<PersistentDependency> _configDependList(Code)



_dependList
ArrayList<PersistentDependency> _dependList(Code)



_isContainerTransaction
protected boolean _isContainerTransaction(Code)



_jClassLoader
protected ClassLoader _jClassLoader(Code)



_localHome
protected ApiClass _localHome(Code)



_localList
protected ArrayList<ApiClass> _localList(Code)



_methodList
protected ArrayList<EjbMethodPattern> _methodList(Code)



_remoteHome
protected ApiClass _remoteHome(Code)



_remoteList
protected ArrayList<ApiClass> _remoteList(Code)




Constructor Detail
EjbBean
public EjbBean(EjbConfig ejbConfig, String ejbModuleName)(Code)
Creates a new entity bean configuration.




Method Detail
addBeanDependency
public void addBeanDependency(String ejbName)(Code)
Add a bean dependency.



addBuilderProgram
public void addBuilderProgram(ConfigProgram init)(Code)
Adds an undefined value, e.g. env-entry



addBusinessLocal
public void addBusinessLocal(Class localClass)(Code)
Adds a local interface class



addBusinessRemote
public void addBusinessRemote(Class remoteClass)(Code)
Adds a remote interface class



addDepend
public void addDepend(Path path)(Code)
Add a dependency.



addDependency
public void addDependency(PersistentDependency depend)(Code)
Add a dependency.



addDependency
public void addDependency(Class cl)(Code)
Add a dependency.



addDependencyList
public void addDependencyList(ArrayList<PersistentDependency> dependList)(Code)
Adds a list of dependencies.



addImports
protected void addImports(BeanAssembler assembler)(Code)
Adds the assemblers.



addInitProgram
public void addInitProgram(ConfigProgram init)(Code)
Adds an init program.



addInterceptor
public void addInterceptor(Interceptor interceptor)(Code)
Adds a new interceptor.



addMethod
public void addMethod(EjbMethodPattern method)(Code)
Adds a method.



addPostConstruct
public void addPostConstruct(PostConstructType postConstruct)(Code)



addRemoveMethod
public void addRemoveMethod(RemoveMethod removeMethod)(Code)
Adds a new remove-method



assembleBeanMethods
public void assembleBeanMethods() throws ConfigException(Code)
Introspects the bean's methods.



assembleGenerator
public GenClass assembleGenerator(String fullClassName) throws NoSuchMethodException, ConfigException(Code)
Assembles the generator.



assembleHomeMethods
protected void assembleHomeMethods(BeanAssembler assembler, BaseClass baseClass, String contextClassName, ApiClass homeClass, String prefix) throws NoSuchMethodException(Code)



assembleMethods
protected void assembleMethods(BeanAssembler assembler, String fullClassName) throws ConfigException(Code)
Assembles the generator methods.



assembleMethods
protected void assembleMethods(BeanAssembler assembler, ViewClass view, String contextClassName, ArrayList<ApiMethod> methods, String prefix) throws NoSuchMethodException(Code)
Assembles methods.



assembleViews
protected void assembleViews(BeanAssembler assembler, String fullClassName) throws ConfigException(Code)
Assembles the generator methods.



classHasMethod
public boolean classHasMethod(ApiMethod method, ApiClass cl)(Code)
Tests is a method is declared in a class.



configureAmber
public void configureAmber(AmberConfig config) throws ConfigException(Code)
Configure for amber.



containsInterceptor
public boolean containsInterceptor(String interceptorClassName)(Code)
Returns true if the interceptor is already configured.



createAssembler
protected BeanAssembler createAssembler(String fullClassName)(Code)
Creates the assembler for the bean.



createBeanGenerator
protected BeanGenerator createBeanGenerator()(Code)
Creates the BeanGenerator generator instance



createHomeView
protected EjbHomeView createHomeView(ApiClass homeClass, String prefix) throws ConfigException(Code)
Creates a home view.



createMessageDestinationRef
public MessageDestinationRef createMessageDestinationRef()(Code)



createMethod
public EjbMethodPattern createMethod(MethodSignature sig)(Code)
Adds a method.



createObjectView
protected EjbObjectView createObjectView(ArrayList<ApiClass> apiList, String prefix, String suffix) throws ConfigException(Code)
Creates an object view.



createRemoteObjectView
protected EjbObjectView createRemoteObjectView(ArrayList<ApiClass> apiList, String prefix, String suffix) throws ConfigException(Code)



createViews21
protected void createViews21() throws ConfigException(Code)
Creates the views.



deployServer
public AbstractServer deployServer(EjbContainer ejbContainer, JavaClassGenerator javaGen) throws ClassNotFoundException, ConfigException(Code)
Deploys the bean.



error
public ConfigException error(String msg)(Code)
Returns an error.



error
public RuntimeException error(Exception e)(Code)
Returns an error.



findFirstCreateMethod
protected ApiMethod findFirstCreateMethod(ApiClass cl) throws ConfigException(Code)



findMethod
public static ApiMethod findMethod(MethodSignature sig, ApiClass cl, String intf)(Code)
Finds the method in the class.
Parameters:
  cl - owning class
Parameters:
  name - method name to match
Parameters:
  params - method parameters to match the matching method or null if non matches.



findMethod
public static ApiMethod findMethod(ArrayList<ApiMethod> methods, ApiMethod method)(Code)
Finds the method in the class.
Parameters:
  cl - owning class
Parameters:
  method - source method the matching method or null if non matches.



findMissingException
Class findMissingException(ApiMethod method, Class[] exn) throws ConfigException(Code)
Finds any exception in the exception array that the method isn't throwing.
Parameters:
  method - the method which should throw a superset of exceptions.
Parameters:
  exn - an array of exceptions the method should throw. the first missing exception



generate
public void generate(JavaClassGenerator javaGen, boolean isAutoCompile) throws Exception(Code)
Generates the class.



getAroundInvokeMethodName
public String getAroundInvokeMethodName()(Code)



getBeanDependList
public ArrayList<String> getBeanDependList()(Code)
Gets the bean depend list.



getClassLoader
public ClassLoader getClassLoader()(Code)
Returns the class loader.



getClassName
public static String getClassName(Class cl)(Code)
Returns a printable version of a class.



getConfig
public EjbConfig getConfig()(Code)



getDependList
public ArrayList<PersistentDependency> getDependList()(Code)
Gets the depend list.



getEJBClass
public Class getEJBClass()(Code)
Gets the ejb implementation class.



getEJBClassName
public String getEJBClassName()(Code)
Gets the ejb implementation class.



getEJBClassWrapper
public ApiClass getEJBClassWrapper()(Code)
Gets the ejb implementation class.



getEJBFullClassName
public String getEJBFullClassName()(Code)
Gets the ejb implementation class.



getEJBKind
public String getEJBKind()(Code)
Returns the kind of bean.



getEJBModuleName
public String getEJBModuleName()(Code)



getEJBName
public String getEJBName()(Code)
Gets the ejbName



getEjbContainer
public EjbContainer getEjbContainer()(Code)



getFilename
public String getFilename()(Code)
Gets the file name



getFullImplName
public String getFullImplName()(Code)
Gets the implementation class name.



getFullMethodName
public static String getFullMethodName(ApiMethod method)(Code)
Returns a full method name with arguments.



getFullMethodName
public static String getFullMethodName(String methodName, Class[] params)(Code)
Returns a full method name with arguments.



getInitProgram
public ContainerProgram getInitProgram()(Code)
Gets the init program.



getInterceptor
public Interceptor getInterceptor(String interceptorClassName)(Code)
Returns the interceptor for a given class name.



getInterceptors
public ArrayList<Interceptor> getInterceptors()(Code)
Returns the interceptors.



getInvokeInterceptors
public ArrayList<Interceptor> getInvokeInterceptors(String methodName)(Code)
Returns the interceptors.



getLine
public int getLine()(Code)
Gets the line



getLocalHome
public ApiClass getLocalHome()(Code)
Gets the local home interface class.



getLocalList
public ArrayList<ApiClass> getLocalList()(Code)
Gets the local interface class.



getLocation
public String getLocation()(Code)
Gets the location



getMappedName
public String getMappedName()(Code)
The mapped-name is the published name used by IIOP, Hessian, and jndi-remote-prefix, jndi-local-prefix.



getMethod
public ApiMethod getMethod(String methodName, Class[] paramTypes)(Code)
Finds the method in the class.
Parameters:
  cl - owning class
Parameters:
  method - source method the matching method or null if non matches.



getMethod
public static ApiMethod getMethod(ApiClass cl, ApiMethod sourceMethod)(Code)
Finds the method in the class.
Parameters:
  cl - owning class
Parameters:
  method - source method the matching method or null if non matches.



getMethod
public static ApiMethod getMethod(ArrayList<ApiClass> apiList, String name, Class[] param)(Code)
Finds the method in the class.
Parameters:
  apiList - owning class
Parameters:
  name - method name to match
Parameters:
  params - method parameters to match the matching method or null if non matches.



getMethod
public static ApiMethod getMethod(ApiClass cl, String name, Class[] param)(Code)
Finds the method in the class.
Parameters:
  cl - owning class
Parameters:
  name - method name to match
Parameters:
  params - method parameters to match the matching method or null if non matches.



getMethodList
public ArrayList<EjbMethodPattern> getMethodList()(Code)
returns the method list.



getMethodPattern
public EjbMethodPattern getMethodPattern(ApiMethod method, String intf)(Code)
Gets the best method.



getMethods
public static ArrayList<ApiMethod> getMethods(ArrayList<ApiClass> apiList)(Code)
Returns all the method in the class.



getRemoteClass
public Class getRemoteClass()(Code)
Gets the remote class.



getRemoteHome
public ApiClass getRemoteHome()(Code)
Gets the ejb implementation class.



getRemoteHomeClass
public Class getRemoteHomeClass()(Code)
Gets the remote home class.



getRemoteList
public ArrayList<ApiClass> getRemoteList()(Code)
Gets the remote interface class.



getRemoveMethod
public RemoveMethod getRemoveMethod(Method method)(Code)
Returns the remove-method for the given method.



getRemoveMethods
public ArrayList<RemoveMethod> getRemoveMethods()(Code)
Returns the remove-method list.



getSecurityChain
public CallChain getSecurityChain(CallChain next, ApiMethod method, String prefix)(Code)



getServerProgram
public ContainerProgram getServerProgram()(Code)
Gets the server program.



getShortClassName
public static String getShortClassName(Class cl)(Code)
Returns a printable version of a class.



getSkeletonName
public String getSkeletonName()(Code)



getTimeoutMethodName
public String getTimeoutMethodName()(Code)
Returns the timeout method name.



getTransactionAttribute
public TransactionAttributeType getTransactionAttribute(ApiMethod method, String intf)(Code)
Returns the matching transaction attribute.



getTransactionChain
public CallChain getTransactionChain(CallChain next, ApiMethod apiMethod, ApiMethod implMethod, String prefix)(Code)



getTransactionTimeout
public long getTransactionTimeout()(Code)
Gets the transaction timeout.



hasException
public boolean hasException(ApiMethod method, Class exn) throws ConfigException(Code)



init
public void init() throws ConfigException(Code)
Configure initialization.



initIntrospect
public void initIntrospect() throws ConfigException(Code)
Configure initialization.



introspect
protected void introspect()(Code)



introspectBean
protected void introspectBean(ApiClass type, String defaultName) throws ConfigException(Code)



introspectEJBMethod
protected EjbBaseMethod introspectEJBMethod(ApiMethod method) throws ConfigException(Code)
Introspects an ejb method.



isAllowPOJO
public boolean isAllowPOJO()(Code)
Return true if POJO are allowed.



isCMP
public boolean isCMP()(Code)



isCMP1
public boolean isCMP1()(Code)



isContainerTransaction
public boolean isContainerTransaction()(Code)
Returns true if the transaction type is container.



isEJB3
public boolean isEJB3()(Code)



isEquiv
public static boolean isEquiv(ApiMethod oldMethod, ApiMethod method)(Code)
True if we've already handled the method.



isMatch
public static boolean isMatch(ApiMethod methodA, ApiMethod methodB)(Code)



isMatch
public static boolean isMatch(ApiMethod method, String name, Class[] param)(Code)



loadClass
protected Class loadClass(String className)(Code)



setAllowPOJO
public void setAllowPOJO(boolean allowPOJO)(Code)
Sets true if POJO are allowed.



setAroundInvoke
public void setAroundInvoke(AroundInvokeConfig aroundInvoke)(Code)



setAroundInvokeMethodName
public void setAroundInvokeMethodName(String aroundInvokeMethodName)(Code)



setConfigLocation
public void setConfigLocation(String filename, int line)(Code)
Sets the location



setContainerTransaction
public void setContainerTransaction(boolean isContainerTransaction)(Code)
Returns true if the transaction type is container.



setEJBClass
public void setEJBClass(Class ejbClass) throws ConfigException(Code)
Sets the ejb implementation class.



setEJBClassWrapper
public void setEJBClassWrapper(ApiClass ejbClass) throws ConfigException(Code)
Sets the ejb implementation class.



setEJBName
public void setEJBName(String ejbName)(Code)
Sets the ejbName



setHome
public void setHome(Class homeClass) throws ConfigException(Code)
Sets the remote home interface class.



setInit
public void setInit(ContainerProgram init)(Code)



setLocal
public void setLocal(Class local) throws ConfigException(Code)
Sets the ejb local interface



setLocalHome
public void setLocalHome(Class localHomeClass) throws ConfigException(Code)
Sets the ejb local home interface



setLocalHomeWrapper
public void setLocalHomeWrapper(ApiClass localHome) throws ConfigException(Code)
Sets the local home interface class.



setLocalWrapper
public void setLocalWrapper(ApiClass local) throws ConfigException(Code)
Sets the local interface class.



setLocation
public void setLocation(String location)(Code)
Sets the location



setMappedName
public void setMappedName(String mappedName)(Code)
The mapped-name is the remote published name used by IIOP, Hessian, and jndi-remote-prefix, jndi-local-prefix. The default is the EJBName.



setRemote
public void setRemote(Class remote) throws ConfigException(Code)
Sets the ejb remote interface



setRemoteHomeWrapper
public void setRemoteHomeWrapper(ApiClass remoteHome) throws ConfigException(Code)
Sets the remote home interface class.



setRemoteWrapper
public void setRemoteWrapper(ApiClass remote) throws ConfigException(Code)
Sets the remote interface class.



setSecurityIdentity
public void setSecurityIdentity(EjbSecurityIdentity securityIdentity)(Code)
Sets the security identity



setTransactionTimeout
public void setTransactionTimeout(Period timeout)(Code)
Sets the transaction timeout.



toString
public String toString()(Code)



validateException
public void validateException(ApiMethod method, Class e) throws ConfigException(Code)



validateExceptions
public void validateExceptions(ApiMethod method, Class[] exn) throws ConfigException(Code)
Check that the method throws the expected exceptions.
Parameters:
  method - the method to test
Parameters:
  exn - the expected exceptions



validateExceptions
public void validateExceptions(ApiMethod caller, ApiMethod callee) throws ConfigException(Code)



validateImplMethod
protected void validateImplMethod(ApiMethod method) throws ConfigException(Code)
Validates an implementation method.



validateMethod
protected ApiMethod validateMethod(String methodName, Class[] param) throws ConfigException(Code)



validateMethod
protected ApiMethod validateMethod(String methodName, Class[] param, ApiMethod sourceMethod, ApiClass sourceClass) throws ConfigException(Code)
Check that a method exists, is public and is not abstract.
Parameters:
  methodName - the name of the method to check for
Parameters:
  args - the expected method parameters the matching method



validateMethod
protected ApiMethod validateMethod(String methodName, Class[] param, ApiMethod sourceMethod, ApiClass sourceClass, boolean isOptional) throws ConfigException(Code)
Check that a method exists, is public and is not abstract.
Parameters:
  methodName - the name of the method to check for
Parameters:
  args - the expected method parameters the matching method



validateNonFinalMethod
protected ApiMethod validateNonFinalMethod(String methodName, Class[] param, boolean isOptional) throws ConfigException(Code)



validateNonFinalMethod
protected ApiMethod validateNonFinalMethod(String methodName, Class[] param) throws ConfigException(Code)



validateNonFinalMethod
protected ApiMethod validateNonFinalMethod(String methodName, Class[] param, ApiMethod sourceMethod, ApiClass sourceClass) throws ConfigException(Code)



validateNonFinalMethod
protected ApiMethod validateNonFinalMethod(String methodName, Class[] param, ApiMethod sourceMethod, ApiClass sourceClass, boolean isOptional) throws ConfigException(Code)
Check that a method exists, is public, not abstract, and not final.
Parameters:
  methodName - the name of the method to check for
Parameters:
  args - the expected method parameters the matching method



validatePublicMethod
protected void validatePublicMethod(ApiMethod method) throws ConfigException(Code)
Check that a method is public. the matching method



validateRemote
protected void validateRemote(ApiClass objectClass) throws ConfigException(Code)
Validates the remote interface.



Methods inherited from com.caucho.config.types.DescriptionGroupConfig
public Icon createIcon()(Code)(Java Doc)
public String getDisplayName()(Code)(Java Doc)
public void setDescription(String description)(Code)(Java Doc)
public void setDisplayName(String displayName)(Code)(Java Doc)
public void setId(String id)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.