Issue Details (XML | Word | Printable)

Key: OPENEJB-775
Type: Sub-task Sub-task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: David Blevins
Reporter: David Blevins
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenEJB
OPENEJB-453

Validation: Bean-class-only annotations not used on interfaces

Created: 13/Mar/08 09:46 AM   Updated: 13/Mar/08 10:00 AM
Return to search
Component/s: deployment
Affects Version/s: 3.0-beta-1, 3.0-beta-2
Fix Version/s: 3.0

Time Tracking:
Not Specified

Resolution Date: 13/Mar/08 10:00 AM


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
David Blevins added a comment - 13/Mar/08 09:48 AM
The following have no effect when placed on an interface:

javax.annotation.PostConstruct
javax.annotation.PreDestroy
javax.annotation.Resource
javax.annotation.Resources
javax.annotation.security.DeclareRoles
javax.annotation.security.DenyAll
javax.annotation.security.PermitAll
javax.annotation.security.RolesAllowed
javax.annotation.security.RunAs
javax.ejb.EJB
javax.ejb.EJBs
javax.ejb.Init
javax.ejb.PostActivate
javax.ejb.PrePassivate
javax.ejb.Remove
javax.ejb.Timeout
javax.ejb.TransactionAttribute
javax.ejb.TransactionManagement


David Blevins added a comment - 13/Mar/08 10:00 AM
$ svn ci
Sending container/openejb-core/src/main/java/org/apache/openejb/config/AnnotationDeployer.java
Sending container/openejb-core/src/main/java/org/apache/openejb/config/ReportValidationResults.java
Sending container/openejb-core/src/main/java/org/apache/openejb/config/rules/CheckClasses.java
Sending container/openejb-core/src/main/java/org/apache/openejb/config/rules/ValidationBase.java
Sending container/openejb-core/src/main/resources/org/apache/openejb/config/rules/Messages.properties
Transmitting file data .....
Committed revision 636688.