|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Matcher | |
---|---|
org.elasticsearch.common.inject | Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework. |
org.elasticsearch.common.inject.internal | Guice (sounds like like "juice") |
org.elasticsearch.common.inject.matcher | Used for matching things. |
org.elasticsearch.common.inject.spi | Guice service provider interface |
Uses of Matcher in org.elasticsearch.common.inject |
---|
Methods in org.elasticsearch.common.inject with parameters of type Matcher | ||
---|---|---|
protected void |
PrivateModule.bindListener(Matcher<? super TypeLiteral<?>> typeMatcher,
TypeListener listener)
|
|
void |
Binder.bindListener(Matcher<? super TypeLiteral<?>> typeMatcher,
TypeListener listener)
Registers a listener for injectable types. |
|
protected void |
AbstractModule.bindListener(Matcher<? super TypeLiteral<?>> typeMatcher,
TypeListener listener)
|
|
protected void |
PrivateModule.convertToTypes(Matcher<? super TypeLiteral<?>> typeMatcher,
TypeConverter converter)
|
|
void |
Binder.convertToTypes(Matcher<? super TypeLiteral<?>> typeMatcher,
TypeConverter converter)
Binds a type converter. |
|
protected void |
AbstractModule.convertToTypes(Matcher<? super TypeLiteral<?>> typeMatcher,
TypeConverter converter)
|
|
static Set<Binding<?>> |
Injectors.getBindingsOf(Injector injector,
Matcher<Class> matcher)
Returns a collection of all of the bindings matching the given matcher |
|
static
|
Injectors.getInstancesOf(Injector injector,
Matcher<Class> matcher)
Returns a collection of all instances matching the given matcher |
|
static
|
Injectors.getProvidersOf(Injector injector,
Matcher<Class> matcher)
Returns a collection of all of the providers matching the given matcher |
|
static boolean |
Injectors.hasBinding(Injector injector,
Matcher<Class> matcher)
Returns true if a binding exists for the given matcher |
Uses of Matcher in org.elasticsearch.common.inject.internal |
---|
Methods in org.elasticsearch.common.inject.internal that return Matcher | |
---|---|
Matcher<? super TypeLiteral<?>> |
MatcherAndConverter.getTypeMatcher()
|
Constructors in org.elasticsearch.common.inject.internal with parameters of type Matcher | |
---|---|
MatcherAndConverter(Matcher<? super TypeLiteral<?>> typeMatcher,
TypeConverter typeConverter,
Object source)
|
Uses of Matcher in org.elasticsearch.common.inject.matcher |
---|
Classes in org.elasticsearch.common.inject.matcher that implement Matcher | |
---|---|
class |
AbstractMatcher<T>
Implements and() and or() . |
Methods in org.elasticsearch.common.inject.matcher that return Matcher | ||
---|---|---|
Matcher<T> |
Matcher.and(Matcher<? super T> other)
Returns a new matcher which returns true if both this and the
given matcher return true . |
|
Matcher<T> |
AbstractMatcher.and(Matcher<? super T> other)
|
|
static Matcher<AnnotatedElement> |
Matchers.annotatedWith(Annotation annotation)
Returns a matcher which matches elements (methods, classes, etc.) with a given annotation. |
|
static Matcher<AnnotatedElement> |
Matchers.annotatedWith(Class<? extends Annotation> annotationType)
Returns a matcher which matches elements (methods, classes, etc.) with a given annotation. |
|
static Matcher<Object> |
Matchers.any()
Returns a matcher which matches any input. |
|
static Matcher<Object> |
Matchers.identicalTo(Object value)
Returns a matcher which matches only the given object. |
|
static Matcher<Class> |
Matchers.inPackage(Package targetPackage)
Returns a matcher which matches classes in the given package. |
|
static Matcher<Class> |
Matchers.inSubpackage(String targetPackageName)
Returns a matcher which matches classes in the given package and its subpackages. |
|
static
|
Matchers.not(Matcher<? super T> p)
Inverts the given matcher. |
|
static Matcher<Object> |
Matchers.only(Object value)
Returns a matcher which matches objects equal to the given object. |
|
Matcher<T> |
Matcher.or(Matcher<? super T> other)
Returns a new matcher which returns true if either this or the
given matcher return true . |
|
Matcher<T> |
AbstractMatcher.or(Matcher<? super T> other)
|
|
static Matcher<Method> |
Matchers.returns(Matcher<? super Class<?>> returnType)
Returns a matcher which matches methods with matching return types. |
|
static Matcher<Class> |
Matchers.subclassesOf(Class<?> superclass)
Returns a matcher which matches subclasses of the given type (as well as the given type). |
Methods in org.elasticsearch.common.inject.matcher with parameters of type Matcher | ||
---|---|---|
Matcher<T> |
Matcher.and(Matcher<? super T> other)
Returns a new matcher which returns true if both this and the
given matcher return true . |
|
Matcher<T> |
AbstractMatcher.and(Matcher<? super T> other)
|
|
static
|
Matchers.not(Matcher<? super T> p)
Inverts the given matcher. |
|
Matcher<T> |
Matcher.or(Matcher<? super T> other)
Returns a new matcher which returns true if either this or the
given matcher return true . |
|
Matcher<T> |
AbstractMatcher.or(Matcher<? super T> other)
|
|
static Matcher<Method> |
Matchers.returns(Matcher<? super Class<?>> returnType)
Returns a matcher which matches methods with matching return types. |
Uses of Matcher in org.elasticsearch.common.inject.spi |
---|
Methods in org.elasticsearch.common.inject.spi that return Matcher | |
---|---|
Matcher<? super TypeLiteral<?>> |
TypeListenerBinding.getTypeMatcher()
Returns the type matcher which chooses which types the listener should be notified of. |
Matcher<? super TypeLiteral<?>> |
TypeConverterBinding.getTypeMatcher()
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |