KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > ejb > RolesReferencedImpl


1 /*
2  * JBoss, the OpenSource EJB server
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.ejb;
8
9
10
11 /**
12  * // *
13  *
14  * @author <a HREF="mailto:bill@jboss.org">William DeCoste</a>
15  * @version $Revision: 1.1.2.2 $
16  */

17 public class RolesReferencedImpl implements javax.annotation.security.RolesReferenced
18 {
19    private String JavaDoc[] v;
20    
21    public RolesReferencedImpl(String JavaDoc[] v)
22    {
23       this.v = v;
24    }
25
26    public String JavaDoc[] value()
27    {
28       return v;
29    }
30    
31    public Class JavaDoc annotationType()
32    {
33       return javax.annotation.security.RolesReferenced.class;
34    }
35    
36 }
37
Popular Tags