Java Doc for MethodMetaData.java in  » EJB-Server-JBoss-4.2.1 » server » org » jboss » metadata » 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 JBoss 4.2.1 » server » org.jboss.metadata 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jboss.metadata.MetaData
      org.jboss.metadata.MethodMetaData

MethodMetaData
public class MethodMetaData extends MetaData (Code)
The combination of the method-permission, container-transaction

The method-permission element specifies that one or more security roles are allowed to invoke one or more enterprise bean methods. The method-permission element consists of an optional description, a list of security role names, or an indicator to specify that the methods are not to be checked for authorization, and a list of method elements. The security roles used in the method-permission element must be defined in the security-role element of the deployment descriptor, and the methods must be methods defined in the enterprise bean’s component and/or home interfaces.

The container-transaction element specifies how the container must manage transaction scopes for the enterprise bean’s method invocations. The element consists of an optional description, a list of method elements, and a transaction attribute. The transaction attribute is to be applied to all the specified methods.


author:
   Sebastien Alborini
author:
   Scott Stark.
version:
   $Revision: 57209 $


Field Summary
final public static  intANY_METHOD
    
public static  StringHOME_TYPE
    
public static  StringLOCAL_HOME_TYPE
    
public static  StringLOCAL_TYPE
    
public static  StringREMOTE_TYPE
    
public static  StringSERVICE_ENDPOINT_TYPE
    

Constructor Summary
public  MethodMetaData()
    

Method Summary
public  StringgetEjbName()
    
public  StringgetInterfaceType()
     Return the interface type name.
public  StringgetMethodName()
    
public  String[]getMethodParams()
    
public  IteratorgetParams()
     The method param type names.
public  SetgetRoles()
    
public  bytegetTransactionType()
    
public  voidimportEjbJarXml(Element element)
    
public  booleanisExcluded()
    
public  booleanisHomeMethod()
    
public  booleanisIntfGiven()
    
public  booleanisLocalHomeMethod()
    
public  booleanisLocalMethod()
    
public  booleanisParamGiven()
    
public  booleanisRemoteMethod()
    
public  booleanisServiceEndpointMethod()
    
public  booleanisUnchecked()
    
public  booleanpatternMatches(String name, Class[] arg, InvocationType iface)
    
public  booleanpatternMatches(String name, String[] arg, InvocationType iface)
    
public  voidsetExcluded()
    
public  voidsetRoles(Set perm)
    
public  voidsetTransactionType(byte type)
    
public  voidsetUnchecked()
    

Field Detail
ANY_METHOD
final public static int ANY_METHOD(Code)



HOME_TYPE
public static String HOME_TYPE(Code)



LOCAL_HOME_TYPE
public static String LOCAL_HOME_TYPE(Code)



LOCAL_TYPE
public static String LOCAL_TYPE(Code)



REMOTE_TYPE
public static String REMOTE_TYPE(Code)



SERVICE_ENDPOINT_TYPE
public static String SERVICE_ENDPOINT_TYPE(Code)




Constructor Detail
MethodMetaData
public MethodMetaData()(Code)




Method Detail
getEjbName
public String getEjbName()(Code)



getInterfaceType
public String getInterfaceType()(Code)
Return the interface type name. one of "Home", "LocalHome", "Remote", "Local", "ServiceEndpoint",or null if no interface was specified.



getMethodName
public String getMethodName()(Code)



getMethodParams
public String[] getMethodParams()(Code)
The An array of the method parameter type names



getParams
public Iterator getParams()(Code)
The method param type names.



getRoles
public Set getRoles()(Code)



getTransactionType
public byte getTransactionType()(Code)



importEjbJarXml
public void importEjbJarXml(Element element) throws DeploymentException(Code)

Parameters:
  a - method element



isExcluded
public boolean isExcluded()(Code)



isHomeMethod
public boolean isHomeMethod()(Code)



isIntfGiven
public boolean isIntfGiven()(Code)



isLocalHomeMethod
public boolean isLocalHomeMethod()(Code)



isLocalMethod
public boolean isLocalMethod()(Code)



isParamGiven
public boolean isParamGiven()(Code)



isRemoteMethod
public boolean isRemoteMethod()(Code)



isServiceEndpointMethod
public boolean isServiceEndpointMethod()(Code)



isUnchecked
public boolean isUnchecked()(Code)



patternMatches
public boolean patternMatches(String name, Class[] arg, InvocationType iface)(Code)



patternMatches
public boolean patternMatches(String name, String[] arg, InvocationType iface)(Code)



setExcluded
public void setExcluded()(Code)



setRoles
public void setRoles(Set perm)(Code)



setTransactionType
public void setTransactionType(byte type)(Code)



setUnchecked
public void setUnchecked()(Code)



Fields inherited from org.jboss.metadata.MetaData
final public static byte TX_MANDATORY(Code)(Java Doc)
final public static byte TX_NEVER(Code)(Java Doc)
final public static byte TX_NOT_SUPPORTED(Code)(Java Doc)
final public static byte TX_REQUIRED(Code)(Java Doc)
final public static byte TX_REQUIRES_NEW(Code)(Java Doc)
final public static byte TX_SUPPORTS(Code)(Java Doc)
final public static byte TX_UNKNOWN(Code)(Java Doc)
protected static Logger log(Code)(Java Doc)

Methods inherited from org.jboss.metadata.MetaData
public Object clone()(Code)(Java Doc)
public static Iterator getChildrenByTagName(Element element, String tagName)(Code)(Java Doc)
public static String getElementAttribute(Element element, String attrName)(Code)(Java Doc)
public static String getElementAttribute(Element element, String attrName, boolean replace)(Code)(Java Doc)
public static String getElementContent(Element element)(Code)(Java Doc)
public static String getElementContent(Element element, String defaultStr)(Code)(Java Doc)
public static String getElementContent(Element element, String defaultStr, boolean replace)(Code)(Java Doc)
public static String getFirstElementContent(Element element, String defaultStr)(Code)(Java Doc)
public static String getFirstElementContent(Element element, String defaultStr, boolean replace)(Code)(Java Doc)
public static Element getOptionalChild(Element element, String tagName) throws DeploymentException(Code)(Java Doc)
public static Element getOptionalChild(Element element, String tagName, Element defaultElement) throws DeploymentException(Code)(Java Doc)
public static boolean getOptionalChildBooleanContent(Element element, String name) throws DeploymentException(Code)(Java Doc)
public static boolean getOptionalChildBooleanContent(Element element, String name, boolean defaultValue) throws DeploymentException(Code)(Java Doc)
public static String getOptionalChildContent(Element element, String tagName) throws DeploymentException(Code)(Java Doc)
public static String getOptionalChildContent(Element element, String tagName, String defaultValue) throws DeploymentException(Code)(Java Doc)
public static Element getUniqueChild(Element element, String tagName) throws DeploymentException(Code)(Java Doc)
public static String getUniqueChildContent(Element element, String tagName) throws DeploymentException(Code)(Java Doc)
public void importEjbJarXml(Element element) throws DeploymentException(Code)(Java Doc)
public void importJbossXml(Element element) throws DeploymentException(Code)(Java Doc)
public void importXml(Element element) throws DeploymentException(Code)(Java Doc)
protected boolean jdk13Enabled()(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.