Home
last modified time | relevance | path

Searched refs:bindListener (Results 1 – 11 of 11) sorted by relevance

/external/guice/core/test/com/google/inject/
DProvisionListenerTest.java55 bindListener(Matchers.any(), new FailBeforeProvision()); in testExceptionInListenerBeforeProvisioning()
76 bindListener(Matchers.any(), new FailAfterProvision()); in testExceptionInListenerAfterProvisioning()
97 bindListener(Matchers.any(), new JustProvision()); in testExceptionInProvisionExplicitlyCalled()
117 bindListener(Matchers.any(), new NoProvision()); in testExceptionInProvisionAutomaticallyCalled()
137 bindListener(new AbstractMatcher<Binding<?>>() { in testExceptionInFieldProvision()
167 bindListener(new AbstractMatcher<Binding<?>>() { in testExceptionInCxtorProvision()
197 bindListener(Matchers.any(), new ProvisionTwice()); in testListenerCallsProvisionTwice()
219 bindListener(Matchers.any(), count1); in testCachedInScopePreventsProvisionNotify()
240 bindListener(Matchers.any(), count1); in testCombineAllBindListenerCalls()
241 bindListener(Matchers.any(), count2); in testCombineAllBindListenerCalls()
[all …]
DTypeListenerTest.java99 bindListener(onlyAbcd, typeListener); in testTypeListenersAreFired()
117 bindListener(onlyAbcd, new TypeListener() { in testInstallingInjectionListener()
163 bindListener(onlyAbcd, new TypeListener() {
186 bindListener(onlyAbcd, failingTypeListener);
211 bindListener(onlyAbcd, failingTypeListener);
244 bindListener(onlyAbcd, new TypeListener() {
292 bindListener(onlyAbcd, failingTypeListener);
318 bindListener(onlyAbcd, new TypeListener() {
378 bindListener(only(TypeLiteral.get(C.class)), new TypeListener() {
416 bindListener(only(TypeLiteral.get(C.class)), new TypeListener() {
[all …]
DRequestInjectionTest.java209 bindListener(Matchers.any(), new TypeListener() { in testEarlyInjectableReferencesWithSameIdentity()
DBindingTest.java368 bindListener(Matchers.any(), listener); in testToConstructorSpiData()
/external/guice/core/src/com/google/inject/
DAbstractModule.java253 protected void bindListener(Matcher<? super TypeLiteral<?>> typeMatcher, in bindListener() method in AbstractModule
255 binder().bindListener(typeMatcher, listener); in bindListener()
262 protected void bindListener(Matcher<? super Binding<?>> bindingMatcher, in bindListener() method in AbstractModule
264 binder().bindListener(bindingMatcher, listener); in bindListener()
DPrivateModule.java293 protected void bindListener(Matcher<? super TypeLiteral<?>> typeMatcher, in bindListener() method in PrivateModule
295 binder().bindListener(typeMatcher, listener); in bindListener()
302 protected void bindListener(Matcher<? super Binding<?>> bindingMatcher, in bindListener() method in PrivateModule
304 binder().bindListener(bindingMatcher, listeners); in bindListener()
DBinder.java390 void bindListener(Matcher<? super TypeLiteral<?>> typeMatcher, in bindListener() method
405 void bindListener(Matcher<? super Binding<?>> bindingMatcher, ProvisionListener... listeners); in bindListener() method
/external/guice/core/src/com/google/inject/spi/
DTypeListenerBinding.java65 binder.withSource(getSource()).bindListener(typeMatcher, listener); in applyTo()
DProvisionListenerBinding.java68 binder.withSource(getSource()).bindListener(bindingMatcher, in applyTo()
DElements.java262 public void bindListener(Matcher<? super TypeLiteral<?>> typeMatcher, TypeListener listener) { in bindListener() method in Elements.RecordingBinder
266 public void bindListener(Matcher<? super Binding<?>> bindingMatcher, in bindListener() method in Elements.RecordingBinder
/external/guice/core/test/com/google/inject/spi/
DElementsTest.java748 bindListener(typeMatcher, listener); in testBindListener()