ChannelFactoryResource annotation is documented to help a user figure out how it is used
This commit is contained in:
parent
b5b7be11b1
commit
184c7cbd5d
@ -22,6 +22,7 @@
|
|||||||
*/
|
*/
|
||||||
package org.jboss.netty.container.guice;
|
package org.jboss.netty.container.guice;
|
||||||
|
|
||||||
|
import java.lang.annotation.Documented;
|
||||||
import java.lang.annotation.ElementType;
|
import java.lang.annotation.ElementType;
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
||||||
import java.lang.annotation.RetentionPolicy;
|
import java.lang.annotation.RetentionPolicy;
|
||||||
@ -37,6 +38,7 @@ import com.google.inject.BindingAnnotation;
|
|||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
@Target({ElementType.FIELD, ElementType.PARAMETER})
|
@Target({ElementType.FIELD, ElementType.PARAMETER})
|
||||||
@BindingAnnotation
|
@BindingAnnotation
|
||||||
|
@Documented
|
||||||
public @interface ChannelFactoryResource {
|
public @interface ChannelFactoryResource {
|
||||||
// No value required
|
// No value required
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user