Java Doc for BeanMetaData.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.BeanMetaData

All known Subclasses:   org.jboss.metadata.EntityMetaData,  org.jboss.metadata.SessionMetaData,  org.jboss.metadata.MessageDrivenMetaData,
BeanMetaData
abstract public class BeanMetaData extends MetaData (Code)
A common meta data class for the entity, message-driven and session beans.
author:
   Sebastien Alborini
author:
   Peter Antman
author:
   Daniel OConnor
author:
   Scott Stark
author:
   Ole Husgaard
author:
   Bill Burke
author:
   Christian Riege
author:
   Thomas Diesler
author:
   Dimitris Andreadis
version:
   $Revision: 61248 $


Field Summary
final public static  charENTITY_TYPE
    
final public static  StringLOCAL_INVOKER_PROXY_BINDING
    
final public static  charMDB_TYPE
    
final public static  charSESSION_TYPE
    
protected  charbeanType
    
protected  booleancallByValue
    
protected  booleanclustered
    
protected  StringconfigurationName
    
protected  booleancontainerManagedTx
    
protected  HashMapinvokerBindings
    
protected  EjbPortComponentMetaDataportComponent
    
protected  StringserviceEndpointClass
    

Constructor Summary
public  BeanMetaData(ApplicationMetaData app, char beanType)
    

Method Summary
public  voidaddExcludedMethod(MethodMetaData method)
    
public  voidaddPermissionMethod(MethodMetaData method)
    
public  voidaddTransactionMethod(MethodMetaData method)
    
abstract protected  voiddefaultInvokerBindings()
    
public  ApplicationMetaDatagetApplicationMetaData()
    
public  ClusterConfigMetaDatagetClusterConfigMetaData()
    
public  StringgetConfigurationName()
    
public  ConfigurationMetaDatagetContainerConfiguration()
    
public  StringgetContainerObjectNameJndiName()
    
abstract public  StringgetDefaultConfigurationName()
    
public  CollectiongetDepends()
    
public  StringgetEjbClass()
    
public  EjbLocalRefMetaDatagetEjbLocalRefByName(String name)
    
public  IteratorgetEjbLocalReferences()
    
public  StringgetEjbName()
    
public  EjbRefMetaDatagetEjbRefByName(String name)
    
public  IteratorgetEjbReferences()
    
public  SecurityIdentityMetaDatagetEjbTimeoutIdentity()
    
public  IteratorgetEnvironmentEntries()
    
public  booleangetExceptionRollback()
    
public  IteratorgetExcludedMethods()
    
public  StringgetHome()
    
public  StringgetInvokerBinding(String invokerName)
    
public  IteratorgetInvokerBindings()
    
public  IorSecurityConfigMetaDatagetIorSecurityConfigMetaData()
    
public  StringgetJndiName()
    
public  StringgetLocal()
    
public  StringgetLocalHome()
    
public  StringgetLocalJndiName()
     Gets the JNDI name under with the local home interface should be bound.
public  IteratorgetMessageDestinationReferences()
    
public  SetgetMethodPermissions(String methodName, Class[] params, InvocationType iface)
     A somewhat tedious method that builds a Set of the roles that have been assigned permission to execute the indicated method.
public  bytegetMethodTransactionType(String methodName, Class[] params, InvocationType iface)
    
public  IteratorgetPermissionMethods()
    
public  EjbPortComponentMetaDatagetPortComponent()
    
public  StringgetRemote()
    
public  IteratorgetResourceEnvReferences()
    
public  IteratorgetResourceReferences()
    
public  SecurityIdentityMetaDatagetSecurityIdentityMetaData()
    
public  StringgetSecurityProxy()
    
public  IteratorgetSecurityRoleReferences()
    
public  StringgetServiceEndpoint()
    
public  HashMap<String, ServiceRefMetaData>getServiceReferences()
    
public  booleangetTimerPersistence()
    
public  bytegetTransactionMethod(Method m, InvocationType iface)
    
public  IteratorgetTransactionMethods()
    
public  intgetTransactionTimeout(String methodName)
    
public  intgetTransactionTimeout(Method method)
    
public  booleanhasMethodPermission(String methodName, Class[] params, InvocationType iface)
     Check to see if there was a method-permission or exclude-list statement for the given method.
public  voidimportEjbJarXml(Element element)
    
public  voidimportJbossXml(Element element)
    
public  booleanisBeanManagedTx()
    
public  booleanisCallByValue()
    
public  booleanisClustered()
    
public  booleanisContainerManagedTx()
    
public  booleanisEntity()
    
public  booleanisExcludeMissingMethods()
    
public  booleanisMessageDriven()
    
public  booleanisMethodReadOnly(String methodName)
    
public  booleanisMethodReadOnly(Method method)
    
public  booleanisSession()
    

Field Detail
ENTITY_TYPE
final public static char ENTITY_TYPE(Code)



LOCAL_INVOKER_PROXY_BINDING
final public static String LOCAL_INVOKER_PROXY_BINDING(Code)



MDB_TYPE
final public static char MDB_TYPE(Code)



SESSION_TYPE
final public static char SESSION_TYPE(Code)



beanType
protected char beanType(Code)
The type of bean: ENTITY_TYPE, SESSION_TYPE, MDB_TYPE



callByValue
protected boolean callByValue(Code)
Should the bean use by value call semeantics



clustered
protected boolean clustered(Code)
Is the bean marked as clustered



configurationName
protected String configurationName(Code)
The container configuration name



containerManagedTx
protected boolean containerManagedTx(Code)
Is this bean's transactions managed by the container?



invokerBindings
protected HashMap invokerBindings(Code)
The invoker names to JNDI name mapping



portComponent
protected EjbPortComponentMetaData portComponent(Code)
The jboss port-component binding for a ejb webservice



serviceEndpointClass
protected String serviceEndpointClass(Code)
The service-endpoint element contains the fully-qualified name of the bean�s service endpoint interface (SEI)




Constructor Detail
BeanMetaData
public BeanMetaData(ApplicationMetaData app, char beanType)(Code)




Method Detail
addExcludedMethod
public void addExcludedMethod(MethodMetaData method)(Code)



addPermissionMethod
public void addPermissionMethod(MethodMetaData method)(Code)



addTransactionMethod
public void addTransactionMethod(MethodMetaData method)(Code)



defaultInvokerBindings
abstract protected void defaultInvokerBindings()(Code)



getApplicationMetaData
public ApplicationMetaData getApplicationMetaData()(Code)



getClusterConfigMetaData
public ClusterConfigMetaData getClusterConfigMetaData()(Code)



getConfigurationName
public String getConfigurationName()(Code)



getContainerConfiguration
public ConfigurationMetaData getContainerConfiguration()(Code)



getContainerObjectNameJndiName
public String getContainerObjectNameJndiName()(Code)
Gets the container jndi name used in the object name



getDefaultConfigurationName
abstract public String getDefaultConfigurationName()(Code)



getDepends
public Collection getDepends()(Code)



getEjbClass
public String getEjbClass()(Code)



getEjbLocalRefByName
public EjbLocalRefMetaData getEjbLocalRefByName(String name)(Code)



getEjbLocalReferences
public Iterator getEjbLocalReferences()(Code)



getEjbName
public String getEjbName()(Code)



getEjbRefByName
public EjbRefMetaData getEjbRefByName(String name)(Code)



getEjbReferences
public Iterator getEjbReferences()(Code)



getEjbTimeoutIdentity
public SecurityIdentityMetaData getEjbTimeoutIdentity()(Code)



getEnvironmentEntries
public Iterator getEnvironmentEntries()(Code)



getExceptionRollback
public boolean getExceptionRollback()(Code)



getExcludedMethods
public Iterator getExcludedMethods()(Code)



getHome
public String getHome()(Code)



getInvokerBinding
public String getInvokerBinding(String invokerName)(Code)



getInvokerBindings
public Iterator getInvokerBindings()(Code)



getIorSecurityConfigMetaData
public IorSecurityConfigMetaData getIorSecurityConfigMetaData()(Code)



getJndiName
public String getJndiName()(Code)



getLocal
public String getLocal()(Code)



getLocalHome
public String getLocalHome()(Code)



getLocalJndiName
public String getLocalJndiName()(Code)
Gets the JNDI name under with the local home interface should be bound. The default is local/<ejbName>



getMessageDestinationReferences
public Iterator getMessageDestinationReferences()(Code)



getMethodPermissions
public Set getMethodPermissions(String methodName, Class[] params, InvocationType iface)(Code)
A somewhat tedious method that builds a Set of the roles that have been assigned permission to execute the indicated method. The work performed is tedious because of the wildcard style of declaring method permission allowed in the ejb-jar.xml descriptor. This method is called by the Container.getMethodPermissions() when it fails to find the prebuilt set of method roles in its cache. The Set for the application domain roles thatcaller principal's are to be validated against.



getMethodTransactionType
public byte getMethodTransactionType(String methodName, Class[] params, InvocationType iface)(Code)



getPermissionMethods
public Iterator getPermissionMethods()(Code)



getPortComponent
public EjbPortComponentMetaData getPortComponent()(Code)



getRemote
public String getRemote()(Code)



getResourceEnvReferences
public Iterator getResourceEnvReferences()(Code)



getResourceReferences
public Iterator getResourceReferences()(Code)



getSecurityIdentityMetaData
public SecurityIdentityMetaData getSecurityIdentityMetaData()(Code)



getSecurityProxy
public String getSecurityProxy()(Code)



getSecurityRoleReferences
public Iterator getSecurityRoleReferences()(Code)



getServiceEndpoint
public String getServiceEndpoint()(Code)



getServiceReferences
public HashMap<String, ServiceRefMetaData> getServiceReferences()(Code)
HashMap



getTimerPersistence
public boolean getTimerPersistence()(Code)



getTransactionMethod
public byte getTransactionMethod(Method m, InvocationType iface)(Code)



getTransactionMethods
public Iterator getTransactionMethods()(Code)



getTransactionTimeout
public int getTransactionTimeout(String methodName)(Code)
Get the transaction timeout for the method



getTransactionTimeout
public int getTransactionTimeout(Method method)(Code)



hasMethodPermission
public boolean hasMethodPermission(String methodName, Class[] params, InvocationType iface)(Code)
Check to see if there was a method-permission or exclude-list statement for the given method.
Parameters:
  methodName - - the method name
Parameters:
  params - - the method parameter signature
Parameters:
  iface - - the method interface type true if a matching method permission exists, false if no match



importEjbJarXml
public void importEjbJarXml(Element element) throws DeploymentException(Code)
Called to parse the ejb-jar.xml enterprise-beans child ejb elements
Parameters:
  element - one of session/entity/message-driven
throws:
  DeploymentException -



importJbossXml
public void importJbossXml(Element element) throws DeploymentException(Code)
Called to parse the jboss.xml enterprise-beans child ejb elements
Parameters:
  element - one of session/entity/message-driven
throws:
  DeploymentException -



isBeanManagedTx
public boolean isBeanManagedTx()(Code)



isCallByValue
public boolean isCallByValue()(Code)



isClustered
public boolean isClustered()(Code)



isContainerManagedTx
public boolean isContainerManagedTx()(Code)



isEntity
public boolean isEntity()(Code)



isExcludeMissingMethods
public boolean isExcludeMissingMethods()(Code)



isMessageDriven
public boolean isMessageDriven()(Code)



isMethodReadOnly
public boolean isMethodReadOnly(String methodName)(Code)
Is this method a read-only method described in jboss.xml?



isMethodReadOnly
public boolean isMethodReadOnly(Method method)(Code)



isSession
public boolean isSession()(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.