Class ConfigImpl
- java.lang.Object
-
- ru.vyarus.dropwizard.guice.module.yaml.bind.ConfigImpl
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.annotation.Annotation
public class ConfigImpl extends java.lang.Object implements Config, java.io.Serializable
Utility class for usingConfigannotation as guice bindings qualifier. Supposed internal usage only (ConfigBindingModule).Implementation is the same as core guice's
com.google.inject.name.NamedImpl.- Since:
- 05.05.2018
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigImpl(java.lang.String val)Create configuration qualifier.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<? extends java.lang.annotation.Annotation>annotationType()booleanequals(java.lang.Object o)inthashCode()java.lang.StringtoString()java.lang.Stringvalue()
-
-
-
Method Detail
-
value
public java.lang.String value()
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacejava.lang.annotation.Annotation- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equalsin interfacejava.lang.annotation.Annotation- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Specified by:
toStringin interfacejava.lang.annotation.Annotation- Overrides:
toStringin classjava.lang.Object
-
annotationType
public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
- Specified by:
annotationTypein interfacejava.lang.annotation.Annotation
-
-