Java Doc for ClassAnnotationMetadata.java in  » J2EE » ow2-easybeans » org » ow2 » easybeans » deployment » annotations » 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 » J2EE » ow2 easybeans » org.ow2.easybeans.deployment.annotations.metadata 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.ow2.easybeans.deployment.annotations.metadata.CommonAnnotationMetadata
      org.ow2.easybeans.deployment.annotations.metadata.ClassAnnotationMetadata

ClassAnnotationMetadata
public class ClassAnnotationMetadata extends CommonAnnotationMetadata implements ITransactionAttribute,IEJBInterceptors,IAnnotationSecurityRolesAllowed,IAnnotationSecurityPermitAll,IInterceptorExcludeDefaultInterceptors(Code)
This class represents the annotation metadata of a Bean.
From this class, we can access to all methods of a bean with its associated information.
author:
   Florent Benoit



Constructor Summary
public  ClassAnnotationMetadata(String className, EjbJarAnnotationMetadata ejbJarAnnotationMetadata)
     Constructor.

Method Summary
public  voidaddAroundInvokeMethodMetadata(MethodAnnotationMetadata aroundInvokeMethodMetadata)
     Add a @ javax.interceptor.AroundInvoke method of this class.
public  voidaddFieldAnnotationMetadata(FieldAnnotationMetadata fieldAnnotationMetadata)
     Add field annotation metadata for a given Bean.
public  voidaddMethodAnnotationMetadata(MethodAnnotationMetadata methodAnnotationMetadata)
     Add method annotation metadata for a given Bean.
public  voidaddPostActivateMethodMetadata(MethodAnnotationMetadata postActivateMethodMetadata)
     Adds a @ javax.ejb.PostActivate method of this class.
public  voidaddPostConstructMethodMetadata(MethodAnnotationMetadata postConstructMethodMetadata)
     Adds a @ javax.annotation.PostConstruct method of this class.
public  voidaddPreDestroyMethodMetadata(MethodAnnotationMetadata preDestroyMethodMetadata)
     Adds a @ javax.annotation.PreDestroy method of this class.
public  voidaddPrePassivateMethodMetadata(MethodAnnotationMetadata prePassivateMethodMetadata)
     Adds a @ javax.ejb.PrePassivate method of this class.
public  JInterceptorsgetAnnotationInterceptors()
    
public  ApplicationExceptiongetApplicationException()
    
public  List<MethodAnnotationMetadata>getAroundInvokeMethodMetadatas()
    
public  StringgetClassName()
    
public  List<String>getDeclareRoles()
    
public  EjbJarAnnotationMetadatagetEjbJarAnnotationMetadata()
    
public  Map<InterceptorType, List<JClassInterceptor>>getExternalUserEasyBeansInterceptors()
    
public  FieldAnnotationMetadatagetFieldAnnotationMetadata(JField jField)
    
Parameters:
  jField - key of the map of fields annotations.
public  Collection<FieldAnnotationMetadata>getFieldAnnotationMetadataCollection()
     Get collections of fields annotation metadata.
public  List<JClassInterceptor>getGlobalEasyBeansInterceptors()
     list of global interceptors that enhancer will use.
public  String[]getInterfaces()
    
public  Map<InterceptorType, List<JClassInterceptor>>getInternalUserEasyBeansInterceptors()
    
public  List<JAnnotationResource>getJAnnotationResources()
    
public  JCommonBeangetJCommonBean()
    
public  List<JEjbEJB>getJEjbEJBs()
    
public  JMessageDrivengetJMessageDriven()
    
public  JStatefulgetJStateful()
    
public  JStatelessgetJStateless()
    
public  List<JavaxPersistenceContext>getJavaxPersistencePersistenceContexts()
    
public  List<JavaxPersistenceUnit>getJavaxPersistencePersistenceUnits()
    
public  StringgetLocalHome()
    
public  JLocalgetLocalInterfaces()
    
public  MethodAnnotationMetadatagetMethodAnnotationMetadata(JMethod jMethod)
    
Parameters:
  jMethod - key of the map of methods annotations.
public  Collection<MethodAnnotationMetadata>getMethodAnnotationMetadataCollection()
     Get collections of methods annotation metadata.
public  LinkedList<MethodAnnotationMetadata>getPostActivateMethodsMetadata()
    
public  LinkedList<MethodAnnotationMetadata>getPostConstructMethodsMetadata()
    
public  LinkedList<MethodAnnotationMetadata>getPreDestroyMethodsMetadata()
    
public  LinkedList<MethodAnnotationMetadata>getPrePassivateMethodsMetadata()
    
public  StringgetRemoteHome()
    
public  StringgetRemoteInterface()
    
public  JRemotegetRemoteInterfaces()
    
public  List<String>getRolesAllowed()
    
public  StringgetRunAs()
    
public  StringgetSuperName()
    
public  TransactionAttributeTypegetTransactionAttributeType()
    
public  TransactionManagementTypegetTransactionManagementType()
    
public  booleanhasPermitAll()
    
public  booleanisAroundInvokeMethodMetadata()
    
public  booleanisBean()
    
public  booleanisExcludedDefaultInterceptors()
    
public  booleanisInterceptor()
    
public  booleanisMdb()
    
public  booleanisOrderedInterceptors()
    
public  booleanisSession()
    
public  booleanisStateful()
    
public  booleanisStateless()
    
public  List<FieldAnnotationMetadata>searchFieldAnnotationMetadata(String fieldName)
    
public  List<MethodAnnotationMetadata>searchMethodAnnotationMetadata(String methodName)
    
public  voidsetAnnotationsInterceptors(JInterceptors annotationInterceptors)
     Sets the object representing the @ javax.interceptor.Interceptors annotation.
public  voidsetApplicationException(ApplicationException applicationException)
     Sets the object representing the @ javax.ejb.ApplicationException annotation.
public  voidsetClassType(ClassType cType)
     Sets the type of this class.
public  voidsetDeclareRoles(List<String> declareRoles)
     Sets the list of roles declared on this class.
public  voidsetExcludeDefaultInterceptors(boolean excludeDefaultInterceptors)
     Flag this class as a class which exclude default interceptors.
public  voidsetExternalUserInterceptors(Map<InterceptorType, List<JClassInterceptor>> externalUserInterceptors)
     Sets the list of user interceptors that enhancers will use.
These interceptors are defined outside the bean class (interceptor classes).
public  voidsetGlobalEasyBeansInterceptors(List<JClassInterceptor> globalEasyBeansInterceptors)
     Sets the list of global interceptors that enhancers will use.
public  voidsetInterfaces(String[] interfaces)
     Sets the interfaces of this class.
public  voidsetInternalUserInterceptors(Map<InterceptorType, List<JClassInterceptor>> internalUserInterceptors)
     Sets the list of user interceptors that enhancers will use.
These interceptors are defined in bean class.
public  voidsetJAnnotationResources(List<JAnnotationResource> jAnnotationResources)
     Sets JAnnotationResources object.
public  voidsetJCommonBean(JCommonBean commonBean)
     Sets the attributes for a Stateless/Stateful/MDB.
public  voidsetJEjbEJBs(List<JEjbEJB> jEjbEJBs)
     Set JEjbEJBs object.
public  voidsetJMessageDriven(JMessageDriven messageDriven)
     Sets the message driven bean object.
public  voidsetJStateful(JStateful jStateful)
     Sets the attributes for a Stateful.
public  voidsetJStateless(JStateless jStateless)
     Sets the attributes for a Stateless.
public  voidsetJavaxPersistencePersistenceContexts(List<JavaxPersistenceContext> javaxPersistencePersistenceContexts)
     Sets JavaxPersistencePersistenceContexts object.
public  voidsetJavaxPersistencePersistenceUnits(List<JavaxPersistenceUnit> javaxPersistencePersistenceUnits)
     Sets setJavaxPersistencePersistenceUnits object.
public  voidsetLocalHome(String localHome)
     Sets the @ javax.ejb.LocalHome class name.
public  voidsetLocalInterfaces(JLocal jLocal)
     Sets the local interfaces of this class.
public  voidsetModified()
     Defines that this class has been modified.
public  voidsetOrderedInterceptors(boolean orderedInterceptors)
     Sets flag to true if interceptors are ordered.
public  voidsetPermitAll(boolean permitAll)
     This class has PermitAll annotation.
public  voidsetRemoteHome(String remoteHome)
     Sets the @ javax.ejb.RemoteHome class name.
public  voidsetRemoteInterface(String remoteInterface)
     Set the value of the remote Interface property.
public  voidsetRemoteInterfaces(JRemote jRemote)
     Sets the remote interfaces of this class.
public  voidsetRolesAllowed(List<String> rolesAllowed)
     Set the list of roles allowed on this class/method.
public  voidsetRunAs(String runAs)
     Set the value of the run-as property.
public  voidsetSuperName(String superName)
     Sets the super class name.
public  voidsetTransactionAttributeType(TransactionAttributeType transactionAttributeType)
     Set Transaction Attribute Type.
public  voidsetTransactionManagementType(TransactionManagementType transactionManagementType)
     Sets transaction management type.
public  StringtoString()
    
public  booleanwasModified()
    


Constructor Detail
ClassAnnotationMetadata
public ClassAnnotationMetadata(String className, EjbJarAnnotationMetadata ejbJarAnnotationMetadata)(Code)
Constructor.
Parameters:
  className - name of the class associated to these metadatas.
Parameters:
  ejbJarAnnotationMetadata - parent metadata object.




Method Detail
addAroundInvokeMethodMetadata
public void addAroundInvokeMethodMetadata(MethodAnnotationMetadata aroundInvokeMethodMetadata)(Code)
Add a @ javax.interceptor.AroundInvoke method of this class.
Parameters:
  aroundInvokeMethodMetadata - the method.



addFieldAnnotationMetadata
public void addFieldAnnotationMetadata(FieldAnnotationMetadata fieldAnnotationMetadata)(Code)
Add field annotation metadata for a given Bean.
Parameters:
  fieldAnnotationMetadata - metadata of a field.



addMethodAnnotationMetadata
public void addMethodAnnotationMetadata(MethodAnnotationMetadata methodAnnotationMetadata)(Code)
Add method annotation metadata for a given Bean.
Parameters:
  methodAnnotationMetadata - metadata of a method.



addPostActivateMethodMetadata
public void addPostActivateMethodMetadata(MethodAnnotationMetadata postActivateMethodMetadata)(Code)
Adds a @ javax.ejb.PostActivate method of this class.
Parameters:
  postActivateMethodMetadata - the method.



addPostConstructMethodMetadata
public void addPostConstructMethodMetadata(MethodAnnotationMetadata postConstructMethodMetadata)(Code)
Adds a @ javax.annotation.PostConstruct method of this class.
Parameters:
  postConstructMethodMetadata - the method.



addPreDestroyMethodMetadata
public void addPreDestroyMethodMetadata(MethodAnnotationMetadata preDestroyMethodMetadata)(Code)
Adds a @ javax.annotation.PreDestroy method of this class.
Parameters:
  preDestroyMethodMetadata - the method.



addPrePassivateMethodMetadata
public void addPrePassivateMethodMetadata(MethodAnnotationMetadata prePassivateMethodMetadata)(Code)
Adds a @ javax.ejb.PrePassivate method of this class.
Parameters:
  prePassivateMethodMetadata - the method.



getAnnotationInterceptors
public JInterceptors getAnnotationInterceptors()(Code)
object representing list of @javax.interceptor.Interceptors.



getApplicationException
public ApplicationException getApplicationException()(Code)
the @javax.ejb.ApplicationException annotation.



getAroundInvokeMethodMetadatas
public List<MethodAnnotationMetadata> getAroundInvokeMethodMetadatas()(Code)
the list of methods metadata with annotation @javax.interceptor.AroundInvoke.



getClassName
public String getClassName()(Code)
name of the bean (associated to this metadata).



getDeclareRoles
public List<String> getDeclareRoles()(Code)
the list of roles declared on this class.



getEjbJarAnnotationMetadata
public EjbJarAnnotationMetadata getEjbJarAnnotationMetadata()(Code)
parent metadata object.



getExternalUserEasyBeansInterceptors
public Map<InterceptorType, List<JClassInterceptor>> getExternalUserEasyBeansInterceptors()(Code)
Map<interceptor type <--> List of methods/class corresponding to the interceptor> (interceptor classes)of user interceptors that enhancer will use.



getFieldAnnotationMetadata
public FieldAnnotationMetadata getFieldAnnotationMetadata(JField jField)(Code)

Parameters:
  jField - key of the map of fields annotations. field annotation metadata of a given method.



getFieldAnnotationMetadataCollection
public Collection<FieldAnnotationMetadata> getFieldAnnotationMetadataCollection()(Code)
Get collections of fields annotation metadata. collections of fields annotation metadata.



getGlobalEasyBeansInterceptors
public List<JClassInterceptor> getGlobalEasyBeansInterceptors()(Code)
list of global interceptors that enhancer will use. (ie : ENC)



getInterfaces
public String[] getInterfaces()(Code)
array of interfaces name.



getInternalUserEasyBeansInterceptors
public Map<InterceptorType, List<JClassInterceptor>> getInternalUserEasyBeansInterceptors()(Code)
Map<interceptor type <--> List of methods/class corresponding to the interceptor> (bean classes)of user interceptors that enhancer will use.



getJAnnotationResources
public List<JAnnotationResource> getJAnnotationResources()(Code)
JAnnotationResources list representing @javax.annotation.Resources annotation.



getJCommonBean
public JCommonBean getJCommonBean()(Code)
the attributes for a Stateless/Stateful/MDB



getJEjbEJBs
public List<JEjbEJB> getJEjbEJBs()(Code)
jEjbEJBs list representing @javax.ejb.EJBs annotation.



getJMessageDriven
public JMessageDriven getJMessageDriven()(Code)
Message driven attribute.



getJStateful
public JStateful getJStateful()(Code)
the attributes for a Stateful



getJStateless
public JStateless getJStateless()(Code)
the attributes for a Stateless



getJavaxPersistencePersistenceContexts
public List<JavaxPersistenceContext> getJavaxPersistencePersistenceContexts()(Code)
javaxPersistencePersistenceContexts list representing @javax.persistence.PersistenceContextsannotation.



getJavaxPersistencePersistenceUnits
public List<JavaxPersistenceUnit> getJavaxPersistencePersistenceUnits()(Code)
javaxPersistencePersistenceUnits list representing @javax.persistence.PersistenceUnits annotation.



getLocalHome
public String getLocalHome()(Code)
the @javax.ejb.LocalHome class name.



getLocalInterfaces
public JLocal getLocalInterfaces()(Code)
the local interfaces of this class.



getMethodAnnotationMetadata
public MethodAnnotationMetadata getMethodAnnotationMetadata(JMethod jMethod)(Code)

Parameters:
  jMethod - key of the map of methods annotations. method annotation metadata of a given method.



getMethodAnnotationMetadataCollection
public Collection<MethodAnnotationMetadata> getMethodAnnotationMetadataCollection()(Code)
Get collections of methods annotation metadata. collections of methods annotation metadata.



getPostActivateMethodsMetadata
public LinkedList<MethodAnnotationMetadata> getPostActivateMethodsMetadata()(Code)
the methods metadata with annotation @javax.ejb.PostActivate.



getPostConstructMethodsMetadata
public LinkedList<MethodAnnotationMetadata> getPostConstructMethodsMetadata()(Code)
the methods metadata with annotation @javax.annotation.PostConstruct.



getPreDestroyMethodsMetadata
public LinkedList<MethodAnnotationMetadata> getPreDestroyMethodsMetadata()(Code)
the methods metadata with annotation @javax.annotation.PreDestroy.



getPrePassivateMethodsMetadata
public LinkedList<MethodAnnotationMetadata> getPrePassivateMethodsMetadata()(Code)
the method metadata with annotation @javax.ejb.PrePassivate.



getRemoteHome
public String getRemoteHome()(Code)
the @javax.ejb.RemoteHome class name.



getRemoteInterface
public String getRemoteInterface()(Code)
the name of the remote interface.



getRemoteInterfaces
public JRemote getRemoteInterfaces()(Code)
the remote interfaces of this class.



getRolesAllowed
public List<String> getRolesAllowed()(Code)
the list of roles allowed on this class/method.



getRunAs
public String getRunAs()(Code)
the name of the security-role of the run-as element.



getSuperName
public String getSuperName()(Code)
the super class name.



getTransactionAttributeType
public TransactionAttributeType getTransactionAttributeType()(Code)
transaction Attribute type.
See Also:   javax.ejb.TransactionAttributeType



getTransactionManagementType
public TransactionManagementType getTransactionManagementType()(Code)
transaction management type from @see TransactionManagementType.



hasPermitAll
public boolean hasPermitAll()(Code)
true if PermitAll annotation.



isAroundInvokeMethodMetadata
public boolean isAroundInvokeMethodMetadata()(Code)
the method metadata with annotation @javax.interceptor.AroundInvoke.



isBean
public boolean isBean()(Code)
true if the classs is a Bean



isExcludedDefaultInterceptors
public boolean isExcludedDefaultInterceptors()(Code)
true if this class won't use default interceptors.



isInterceptor
public boolean isInterceptor()(Code)
Is that this class is an interceptor class ? true if it the case, else false.



isMdb
public boolean isMdb()(Code)
true if the class is an MDB class



isOrderedInterceptors
public boolean isOrderedInterceptors()(Code)
true if the interceptors have been ordered for this class.



isSession
public boolean isSession()(Code)
true if the class is a session bean class



isStateful
public boolean isStateful()(Code)
true if the class is a stateful class



isStateless
public boolean isStateless()(Code)
true if the class is a stateless class



searchFieldAnnotationMetadata
public List<FieldAnnotationMetadata> searchFieldAnnotationMetadata(String fieldName)(Code)

Parameters:
  fieldName - the name of the field to search list of field annotation metadata for the given field name



searchMethodAnnotationMetadata
public List<MethodAnnotationMetadata> searchMethodAnnotationMetadata(String methodName)(Code)

Parameters:
  methodName - the name of the method to search list of method annotation metadata for the given method name



setAnnotationsInterceptors
public void setAnnotationsInterceptors(JInterceptors annotationInterceptors)(Code)
Sets the object representing the @ javax.interceptor.Interceptors annotation.
Parameters:
  annotationInterceptors - list of classes



setApplicationException
public void setApplicationException(ApplicationException applicationException)(Code)
Sets the object representing the @ javax.ejb.ApplicationException annotation.
Parameters:
  applicationException - object representation



setClassType
public void setClassType(ClassType cType)(Code)
Sets the type of this class.
Parameters:
  cType - a type from enum class ClassType.
See Also:   org.ow2.easybeans.deployment.annotations.ClassType



setDeclareRoles
public void setDeclareRoles(List<String> declareRoles)(Code)
Sets the list of roles declared on this class.
Parameters:
  declareRoles - the list of roles.



setExcludeDefaultInterceptors
public void setExcludeDefaultInterceptors(boolean excludeDefaultInterceptors)(Code)
Flag this class as a class which exclude default interceptors.
Parameters:
  excludeDefaultInterceptors - true if this class is a class which exclude default interceptors.



setExternalUserInterceptors
public void setExternalUserInterceptors(Map<InterceptorType, List<JClassInterceptor>> externalUserInterceptors)(Code)
Sets the list of user interceptors that enhancers will use.
These interceptors are defined outside the bean class (interceptor classes).
Parameters:
  externalUserInterceptors - list of interceptors that enhancer will use.



setGlobalEasyBeansInterceptors
public void setGlobalEasyBeansInterceptors(List<JClassInterceptor> globalEasyBeansInterceptors)(Code)
Sets the list of global interceptors that enhancers will use.
Parameters:
  globalEasyBeansInterceptors - list of interceptors that enhancer will use.



setInterfaces
public void setInterfaces(String[] interfaces)(Code)
Sets the interfaces of this class.
Parameters:
  interfaces - name of interfaces.



setInternalUserInterceptors
public void setInternalUserInterceptors(Map<InterceptorType, List<JClassInterceptor>> internalUserInterceptors)(Code)
Sets the list of user interceptors that enhancers will use.
These interceptors are defined in bean class.
Parameters:
  internalUserInterceptors - list of interceptors that enhancer will use.



setJAnnotationResources
public void setJAnnotationResources(List<JAnnotationResource> jAnnotationResources)(Code)
Sets JAnnotationResources object.
Parameters:
  jAnnotationResources - list representing javax.annotation.Resources annotation.



setJCommonBean
public void setJCommonBean(JCommonBean commonBean)(Code)
Sets the attributes for a Stateless/Stateful/MDB.
Parameters:
  commonBean - the attributes



setJEjbEJBs
public void setJEjbEJBs(List<JEjbEJB> jEjbEJBs)(Code)
Set JEjbEJBs object.
Parameters:
  jEjbEJBs - list representing javax.ejb.EJBs annotation.



setJMessageDriven
public void setJMessageDriven(JMessageDriven messageDriven)(Code)
Sets the message driven bean object.
Parameters:
  messageDriven - attributes of message driven bean.



setJStateful
public void setJStateful(JStateful jStateful)(Code)
Sets the attributes for a Stateful.
Parameters:
  jStateful - the attributes



setJStateless
public void setJStateless(JStateless jStateless)(Code)
Sets the attributes for a Stateless.
Parameters:
  jStateless - the attributes



setJavaxPersistencePersistenceContexts
public void setJavaxPersistencePersistenceContexts(List<JavaxPersistenceContext> javaxPersistencePersistenceContexts)(Code)
Sets JavaxPersistencePersistenceContexts object.
Parameters:
  javaxPersistencePersistenceContexts - list representing @javax.persistence.PersistenceContexts annotation.



setJavaxPersistencePersistenceUnits
public void setJavaxPersistencePersistenceUnits(List<JavaxPersistenceUnit> javaxPersistencePersistenceUnits)(Code)
Sets setJavaxPersistencePersistenceUnits object.
Parameters:
  javaxPersistencePersistenceUnits - list representing @javax.persistence.PersistenceUnits annotation.



setLocalHome
public void setLocalHome(String localHome)(Code)
Sets the @ javax.ejb.LocalHome class name.
Parameters:
  localHome - the class name.



setLocalInterfaces
public void setLocalInterfaces(JLocal jLocal)(Code)
Sets the local interfaces of this class.
Parameters:
  jLocal - list of interfaces.



setModified
public void setModified()(Code)
Defines that this class has been modified.



setOrderedInterceptors
public void setOrderedInterceptors(boolean orderedInterceptors)(Code)
Sets flag to true if interceptors are ordered.
Parameters:
  orderedInterceptors - boolean with true/false.



setPermitAll
public void setPermitAll(boolean permitAll)(Code)
This class has PermitAll annotation.
Parameters:
  permitAll - the boolean value.



setRemoteHome
public void setRemoteHome(String remoteHome)(Code)
Sets the @ javax.ejb.RemoteHome class name.
Parameters:
  remoteHome - the class name.



setRemoteInterface
public void setRemoteInterface(String remoteInterface)(Code)
Set the value of the remote Interface property.
Parameters:
  remoteInterface - the remote Interface property.



setRemoteInterfaces
public void setRemoteInterfaces(JRemote jRemote)(Code)
Sets the remote interfaces of this class.
Parameters:
  jRemote - list of interfaces.



setRolesAllowed
public void setRolesAllowed(List<String> rolesAllowed)(Code)
Set the list of roles allowed on this class/method.
Parameters:
  rolesAllowed - the list of roles.



setRunAs
public void setRunAs(String runAs)(Code)
Set the value of the run-as property.
Parameters:
  runAs - the run-as property.



setSuperName
public void setSuperName(String superName)(Code)
Sets the super class name.
Parameters:
  superName - name of the super class.



setTransactionAttributeType
public void setTransactionAttributeType(TransactionAttributeType transactionAttributeType)(Code)
Set Transaction Attribute Type.
See Also:   javax.ejb.TransactionAttributeType
Parameters:
  transactionAttributeType - the type of transaction.



setTransactionManagementType
public void setTransactionManagementType(TransactionManagementType transactionManagementType)(Code)
Sets transaction management type.
See Also:   javax.ejb.TransactionManagementType
Parameters:
  transactionManagementType - value.(BEAN, CONTAINER)



toString
public String toString()(Code)
string representation.



wasModified
public boolean wasModified()(Code)
true if the class has been modified.



Methods inherited from org.ow2.easybeans.deployment.annotations.metadata.CommonAnnotationMetadata
protected static void concatStringBuilder(String name, Object object, StringBuilder sb, String indent)(Code)(Java Doc)
protected static void concatStringBuilder(String name, Object object, StringBuilder sb)(Code)(Java Doc)
public JAnnotationResource getJAnnotationResource()(Code)(Java Doc)
public JEjbEJB getJEjbEJB()(Code)(Java Doc)
public JavaxPersistenceContext getJavaxPersistenceContext()(Code)(Java Doc)
public JavaxPersistenceUnit getJavaxPersistenceUnit()(Code)(Java Doc)
public boolean isPersistenceContext()(Code)(Java Doc)
public boolean isPersistenceUnit()(Code)(Java Doc)
public void setJAnnotationResource(JAnnotationResource jAnnotationResource)(Code)(Java Doc)
public void setJEjbEJB(JEjbEJB jEjbEJB)(Code)(Java Doc)
public void setJavaxPersistenceContext(JavaxPersistenceContext javaxPersistenceContext)(Code)(Java Doc)
public void setJavaxPersistenceUnit(JavaxPersistenceUnit javaxPersistenceUnit)(Code)(Java Doc)
public String toString()(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.