Package io.activej.inject
Class Scope
java.lang.Object
io.activej.inject.Scope
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanClass<? extends Annotation>inthashCode()booleanstatic Scopeof(Annotation annotation) Creates a Scope from a real (or its custom surrogate impl) annotation instance.static Scopeof(Class<? extends Annotation> annotationType) Creates a Scope from a marker (or stateless) annotation, only identified by its class.toString()
-
Field Details
-
UNSCOPED
-
-
Method Details
-
of
Creates a Scope from a marker (or stateless) annotation, only identified by its class. -
of
Creates a Scope from a real (or its custom surrogate impl) annotation instance. -
getAnnotationType
-
isThreadsafe
public boolean isThreadsafe() -
getDisplayString
-
equals
-
hashCode
public int hashCode() -
toString
-