001/** 002 * GRANITE DATA SERVICES 003 * Copyright (C) 2006-2013 GRANITE DATA SERVICES S.A.S. 004 * 005 * This file is part of the Granite Data Services Platform. 006 * 007 * *** 008 * 009 * Community License: GPL 3.0 010 * 011 * This file is free software: you can redistribute it and/or modify 012 * it under the terms of the GNU General Public License as published 013 * by the Free Software Foundation, either version 3 of the License, 014 * or (at your option) any later version. 015 * 016 * This file is distributed in the hope that it will be useful, but 017 * WITHOUT ANY WARRANTY; without even the implied warranty of 018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 019 * GNU General Public License for more details. 020 * 021 * You should have received a copy of the GNU General Public License 022 * along with this program. If not, see <http://www.gnu.org/licenses/>. 023 * 024 * *** 025 * 026 * Available Commercial License: GraniteDS SLA 1.0 027 * 028 * This is the appropriate option if you are creating proprietary 029 * applications and you are not prepared to distribute and share the 030 * source code of your application under the GPL v3 license. 031 * 032 * Please visit http://www.granitedataservices.com/license for more 033 * details. 034 */ 035/** 036 GRANITE DATA SERVICES 037 Copyright (C) 2012 GRANITE DATA SERVICES S.A.S. 038 039 This file is part of Granite Data Services. 040 041 Granite Data Services is free software; you can redistribute it and/or modify 042 it under the terms of the GNU Library General Public License as published by 043 the Free Software Foundation; either version 2 of the License, or (at your 044 option) any later version. 045 046 Granite Data Services is distributed in the hope that it will be useful, but 047 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 048 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License 049 for more details. 050 051 You should have received a copy of the GNU Library General Public License 052 along with this library; if not, see <http://www.gnu.org/licenses/>. 053*/ 054package org.granite.client.tide.cdi; 055 056import java.lang.annotation.Documented; 057import java.lang.annotation.ElementType; 058import java.lang.annotation.Inherited; 059import java.lang.annotation.Retention; 060import java.lang.annotation.RetentionPolicy; 061import java.lang.annotation.Target; 062 063import javax.inject.Scope; 064 065/** 066 * @author William DRAI 067 */ 068@Target(value={ ElementType.TYPE, ElementType.METHOD, ElementType.FIELD }) 069@Retention(value=RetentionPolicy.RUNTIME) 070@Documented 071@Scope 072@Inherited 073public @interface ViewScoped { 074} 075