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 2006/12/07 12:56:24 UTC

[jira] Created: (OPENEJB-400) javax.annotation.Resource: for resource-ref

javax.annotation.Resource: for resource-ref
-------------------------------------------

                 Key: OPENEJB-400
                 URL: http://issues.apache.org/jira/browse/OPENEJB-400
             Project: OpenEJB
          Issue Type: Sub-task
          Components: deployment, ejb3 simplified
    Affects Versions: 3.0
            Reporter: David Blevins
             Fix For: 3.0


@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Resource {
    public enum AuthenticationType {
        CONTAINER,
        APPLICATION
    }
    String name() default "";
    Class type() default Object.class;
    AuthenticationType authenticationType()
            default AuthenticationType.CONTAINER;
    boolean shareable() default true;
    String mappedName() default "";
    String description() default "";
}


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (OPENEJB-400) javax.annotation.Resource: for resource-ref

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

David Blevins closed OPENEJB-400.
---------------------------------

    Resolution: Fixed
      Assignee: Manu T George

this one was completed by manu

> javax.annotation.Resource: for resource-ref
> -------------------------------------------
>
>                 Key: OPENEJB-400
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-400
>             Project: OpenEJB
>          Issue Type: Sub-task
>          Components: deployment, ejb3 simplified
>    Affects Versions: 3.0
>            Reporter: David Blevins
>         Assigned To: Manu T George
>             Fix For: 3.0
>
>
> @Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
> @Retention(RetentionPolicy.RUNTIME)
> public @interface Resource {
>     public enum AuthenticationType {
>         CONTAINER,
>         APPLICATION
>     }
>     String name() default "";
>     Class type() default Object.class;
>     AuthenticationType authenticationType()
>             default AuthenticationType.CONTAINER;
>     boolean shareable() default true;
>     String mappedName() default "";
>     String description() default "";
> }

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