Home
last modified time | relevance | path

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

/external/guice/core/src/com/google/inject/internal/
DProvisionListenerStackCallback.java24 import com.google.inject.spi.ProvisionListener;
36 private static final ProvisionListener EMPTY_LISTENER[] = new ProvisionListener[0];
41 private final ProvisionListener[] listeners;
49 public ProvisionListenerStackCallback(Binding<T> binding, List<ProvisionListener> listeners) { in ProvisionListenerStackCallback()
54 Set<ProvisionListener> deDuplicated = Sets.newLinkedHashSet(listeners); in ProvisionListenerStackCallback()
55 this.listeners = deDuplicated.toArray(new ProvisionListener[deDuplicated.size()]); in ProvisionListenerStackCallback()
92 private class Provision extends ProvisionListener.ProvisionInvocation<T> {
101 ProvisionListener erredListener;
DProvisionListenerCallbackStore.java29 import com.google.inject.spi.ProvisionListener;
92 List<ProvisionListener> listeners = null; in create()
/external/guice/core/src/com/google/inject/spi/
DProvisionListenerBinding.java37 private final List<ProvisionListener> listeners;
41 ProvisionListener[] listeners) { in ProvisionListenerBinding()
48 public List<ProvisionListener> getListeners() { in getListeners()
69 listeners.toArray(new ProvisionListener[listeners.size()])); in applyTo()
DProvisionListener.java32 public interface ProvisionListener { interface
DElements.java267 ProvisionListener... listeners) { in bindListener()
/external/guice/core/test/com/google/inject/
DProvisionListenerTest.java32 import com.google.inject.spi.ProvisionListener;
387 bindListener(Matchers.any(), new ProvisionListener() { in testCallingBindingDotGetProviderDotGet()
446 private static class Counter implements ProvisionListener {
453 private static class CountAndCaptureExceptionListener implements ProvisionListener {
469 private static class Capturer implements ProvisionListener {
500 private static class FailBeforeProvision implements ProvisionListener {
505 private static class FailAfterProvision implements ProvisionListener {
511 private static class JustProvision implements ProvisionListener {
516 private static class NoProvision implements ProvisionListener {
520 private static class ProvisionTwice implements ProvisionListener {
[all …]
/external/guice/core/src/com/google/inject/
DBinder.java26 import com.google.inject.spi.ProvisionListener;
405 void bindListener(Matcher<? super Binding<?>> bindingMatcher, ProvisionListener... listeners); in bindListener()
DAbstractModule.java27 import com.google.inject.spi.ProvisionListener;
263 ProvisionListener... listener) { in bindListener()
DPrivateModule.java27 import com.google.inject.spi.ProvisionListener;
303 ProvisionListener... listeners) { in bindListener()