1 /* |
1 /* |
2 * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
76 * the default is the type of the field. For method annotations, |
76 * the default is the type of the field. For method annotations, |
77 * the default is the type of the JavaBeans property. |
77 * the default is the type of the JavaBeans property. |
78 * For class annotations, there is no default and this must be |
78 * For class annotations, there is no default and this must be |
79 * specified. |
79 * specified. |
80 */ |
80 */ |
81 Class type() default java.lang.Object.class; |
81 Class<?> type() default java.lang.Object.class; |
82 |
82 |
83 /** |
83 /** |
84 * The two possible authentication types for a resource. |
84 * The two possible authentication types for a resource. |
85 */ |
85 */ |
86 enum AuthenticationType { |
86 enum AuthenticationType { |