1 /* Copyright 2009, Sebastian Prehn 2 * 3 * This file is part of JCR Blog 4 * 5 * JCR Blog is free software: you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation, either version 3 of the License, or 8 * (at your option) any later version. 9 * 10 * JCR Blog is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with JCR Blog. If not, see <http://www.gnu.org/licenses/>. 17 * 18 * Versioning: 19 * $LastChangedDate$ 20 * $LastChangedRevision$ 21 */ 22 23 package org.jcr_blog.commons.jsf2cdi.scope; 24 25 26 import java.lang.annotation.Inherited; 27 import java.lang.annotation.Retention; 28 import java.lang.annotation.Target; 29 import javax.enterprise.context.NormalScope; 30 import static java.lang.annotation.ElementType.*; 31 import static java.lang.annotation.RetentionPolicy.*; 32 33 /** 34 * 35 * @author Sebastian Prehn <sebastian.prehn@planetswebdesign.de> 36 */ 37 @Target(value={METHOD,TYPE,FIELD}) 38 @Retention(value=RUNTIME) 39 @NormalScope 40 @Inherited 41 public @interface ViewScoped{ 42 43 }