1 /* 2 * Copyright 2009 Red Hat, Inc. 3 * 4 * Red Hat licenses this file to you under the Apache License, version 2.0 5 * (the "License"); you may not use this file except in compliance with the 6 * License. You may obtain a copy of the License at: 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 12 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 13 * License for the specific language governing permissions and limitations 14 * under the License. 15 */ 16 package org.jboss.netty.channel; 17 18 import java.lang.annotation.Documented; 19 import java.lang.annotation.ElementType; 20 import java.lang.annotation.Inherited; 21 import java.lang.annotation.Retention; 22 import java.lang.annotation.RetentionPolicy; 23 import java.lang.annotation.Target; 24 25 import org.jboss.netty.channel.ChannelHandler.Sharable; 26 27 /** 28 * @deprecated Use the {@link Sharable} annotation instead. 29 30 * @author <a href="http://www.jboss.org/netty/">The Netty Project</a> 31 * @author <a href="http://gleamynode.net/">Trustin Lee</a> 32 * 33 * @version $Rev: 2124 $, $Date: 2010-02-02 11:13:06 +0900 (Tue, 02 Feb 2010) $ 34 * 35 * @apiviz.exclude 36 */ 37 @Inherited 38 @Documented 39 @Target(ElementType.TYPE) 40 @Retention(RetentionPolicy.RUNTIME) 41 @Deprecated 42 public @interface ChannelPipelineCoverage { 43 44 /** 45 * {@code "all"} 46 */ 47 public static final String ALL = "all"; 48 49 /** 50 * {@code "one"} 51 */ 52 public static final String ONE = "one"; 53 54 /** 55 * The value of this annotation 56 */ 57 String value(); 58 }