Home
last modified time | relevance | path

Searched refs:ProvisionListener (Results 1 – 10 of 10) sorted by relevance

/external/guice/core/src/com/google/inject/internal/
DProvisionListenerStackCallback.java22 import com.google.inject.spi.ProvisionListener;
33 private static final ProvisionListener[] EMPTY_LISTENER = new ProvisionListener[0];
39 private final ProvisionListener[] listeners;
47 public ProvisionListenerStackCallback(Binding<T> binding, List<ProvisionListener> listeners) { in ProvisionListenerStackCallback()
52 Set<ProvisionListener> deDuplicated = Sets.newLinkedHashSet(listeners); in ProvisionListenerStackCallback()
53 this.listeners = deDuplicated.toArray(new ProvisionListener[deDuplicated.size()]); in ProvisionListenerStackCallback()
92 private class Provision extends ProvisionListener.ProvisionInvocation<T> {
100 ProvisionListener erredListener;
DProvisionListenerCallbackStore.java29 import com.google.inject.spi.ProvisionListener;
96 List<ProvisionListener> listeners = null; in create()
/external/guice/core/src/com/google/inject/spi/
DProvisionListenerBinding.java36 private final List<ProvisionListener> listeners;
39 Object source, Matcher<? super Binding<?>> bindingMatcher, ProvisionListener[] listeners) { in ProvisionListenerBinding()
46 public List<ProvisionListener> getListeners() { in getListeners()
71 .bindListener(bindingMatcher, listeners.toArray(new ProvisionListener[listeners.size()])); in applyTo()
DProvisionListener.java30 public interface ProvisionListener { interface
DElements.java270 Matcher<? super Binding<?>> bindingMatcher, ProvisionListener... listeners) { in bindListener()
/external/guice/core/test/com/google/inject/
DProvisionListenerTest.java33 import com.google.inject.spi.ProvisionListener;
473 new ProvisionListener() { in testCallingBindingDotGetProviderDotGet()
545 private static class Counter implements ProvisionListener {
554 private static class CountAndCaptureExceptionListener implements ProvisionListener {
572 private static class Capturer implements ProvisionListener {
606 private static class FailBeforeProvision implements ProvisionListener {
613 private static class FailAfterProvision implements ProvisionListener {
621 private static class JustProvision implements ProvisionListener {
628 private static class NoProvision implements ProvisionListener {
633 private static class ProvisionTwice implements ProvisionListener {
[all …]
DScopesTest.java38 import com.google.inject.spi.ProvisionListener;
1326 private static final class ScopeMutatingProvisionListener implements ProvisionListener {
/external/guice/core/src/com/google/inject/
DBinder.java26 import com.google.inject.spi.ProvisionListener;
360 void bindListener(Matcher<? super Binding<?>> bindingMatcher, ProvisionListener... listeners); in bindListener()
DAbstractModule.java27 import com.google.inject.spi.ProvisionListener;
234 Matcher<? super Binding<?>> bindingMatcher, ProvisionListener... listener) { in bindListener()
DPrivateModule.java27 import com.google.inject.spi.ProvisionListener;
268 Matcher<? super Binding<?>> bindingMatcher, ProvisionListener... listeners) { in bindListener()