You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Blevins (JIRA)" <ji...@apache.org> on 2008/03/13 10:47:46 UTC

[jira] Created: (OPENEJB-775) Validation: Bean-class-only annotations not used on interfaces

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

                 Key: OPENEJB-775
                 URL: https://issues.apache.org/jira/browse/OPENEJB-775
             Project: OpenEJB
          Issue Type: Sub-task
            Reporter: David Blevins




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (OPENEJB-775) Validation: Bean-class-only annotations not used on interfaces

Posted by "David Blevins (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OPENEJB-775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578207#action_12578207 ] 

David Blevins commented on OPENEJB-775:
---------------------------------------

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



> Validation: Bean-class-only annotations not used on interfaces
> --------------------------------------------------------------
>
>                 Key: OPENEJB-775
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-775
>             Project: OpenEJB
>          Issue Type: Sub-task
>            Reporter: David Blevins
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (OPENEJB-775) Validation: Bean-class-only annotations not used on interfaces

Posted by "David Blevins (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Blevins closed OPENEJB-775.
---------------------------------

    Resolution: Fixed

$ 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.



> Validation: Bean-class-only annotations not used on interfaces
> --------------------------------------------------------------
>
>                 Key: OPENEJB-775
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-775
>             Project: OpenEJB
>          Issue Type: Sub-task
>          Components: deployment
>    Affects Versions: 3.0-beta-1, 3.0-beta-2
>            Reporter: David Blevins
>            Assignee: David Blevins
>             Fix For: 3.0
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.