@@ -0,0 +1,1515 @@
+/***%0A * Copyright (c) 2009 Caelum - www.caelum.com.br/opensource All rights reserved.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22); you may not%0A * use this file except in compliance with the License. You may obtain a copy of%0A * the License at%0A *%0A * http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS, WITHOUT%0A * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the%0A * License for the specific language governing permissions and limitations under%0A * the License.%0A */%0Apackage br.com.caelum.vraptor.environment;%0A%0Aimport java.io.IOException;%0A%0Aimport javax.enterprise.context.ApplicationScoped;%0Aimport javax.enterprise.inject.Alternative;%0Aimport javax.servlet.ServletContext;%0A%0A/**%0A * A default %7B@link Environment%7D implementation which loads the environment file%0A * based on %3Ci%3EVRAPTOR_ENV%3C/i%3E system property or %3Ci%3Ebr.com.caelum.vraptor%0A * .environment%3C/i%3E property in the context init parameter.%0A * %0A * @author Alexandre Atoji%0A * @author Andrew Kurauchi%0A * @author Guilherme Silveira%0A * @author Rodrigo Turini%0A * @deprecated Prefer using %7B@link DefaultEnvironment%7D.%0A */%0A@ApplicationScoped%0A@Alternative%0Apublic class ServletBasedEnvironment extends DefaultEnvironment %7B%0A%0A%09protected ServletBasedEnvironment() throws IOException %7B%0A%09%09super();%0A%09%7D%0A%0A%09public ServletBasedEnvironment(ServletContext context) throws IOException %7B%0A%09%09super(context);%0A%09%7D%0A%7D

Rollback Servlet Environment exclusion