Searched refs:bindInterceptor (Results 1 - 20 of 20) sorted by relevance

/external/guice/extensions/persist/src/com/google/inject/persist/
H A DPersistModule.java44 bindInterceptor(annotatedWith(Transactional.class), any(), getTransactionInterceptor());
46 bindInterceptor(any(), annotatedWith(Transactional.class), getTransactionInterceptor());
/external/guice/jdk8-tests/test/com/google/inject/jdk8/
H A DDefaultMethodInterceptionTest.java82 bindInterceptor(Matchers.any(), Matchers.annotatedWith(InterceptMe.class),
98 bindInterceptor(Matchers.any(), Matchers.annotatedWith(InterceptMe.class),
126 bindInterceptor(Matchers.any(), Matchers.annotatedWith(InterceptMe.class),
161 bindInterceptor(Matchers.any(), Matchers.annotatedWith(InterceptMe.class),
194 bindInterceptor(Matchers.subclassesOf(Baz.class), Matchers.any(), interceptor);
211 bindInterceptor(Matchers.subclassesOf(BazImpl.class), Matchers.any(), interceptor);
/external/guice/core/test/com/google/inject/
H A DMethodInterceptionTest.java70 bindInterceptor(Matchers.any(), Matchers.returns(only(Foo.class)),
99 bindInterceptor(Matchers.any(), Matchers.returns(only(Foo.class)),
114 bindInterceptor(Matchers.any(), Matchers.any(), new MethodInterceptor() {
131 bindInterceptor(Matchers.any(), Matchers.any(), new MethodInterceptor() {
154 bindInterceptor(Matchers.any(),Matchers.returns(only(Foo.class)),
156 bindInterceptor(Matchers.any(), Matchers.returns(only(Foo.class).or(only(Bar.class))),
182 bindInterceptor(Matchers.any(), Matchers.any(), new CountingInterceptor());
183 bindInterceptor(Matchers.any(), Matchers.any(), new CountingInterceptor());
206 bindInterceptor(Matchers.any(), Matchers.returns(only(Foo.class)),
261 bindInterceptor(Matcher
[all...]
H A DIntegrationTest.java37 bindInterceptor(any(), any(), counter);
H A DTypeListenerTest.java160 bindInterceptor(any(), buzz, prefixInterceptor("ka"));
161 bindInterceptor(any(), any(), prefixInterceptor("fe"));
165 encounter.bindInterceptor(any(), prefixInterceptor("li"));
166 encounter.bindInterceptor(buzz, prefixInterceptor("no"));
577 encounter.bindInterceptor(any(), new org.aopalliance.intercept.MethodInterceptor() {
H A DParentInjectorTest.java143 super.bindInterceptor(Matchers.any(), Matchers.returns(Matchers.identicalTo(A.class)),
H A DBindingTest.java296 bindInterceptor(Matchers.any(), Matchers.any(), countingInterceptor);
/external/guice/core/src/com/google/inject/spi/
H A DInterceptorBinding.java32 * explicitly in a module using {@link com.google.inject.Binder#bindInterceptor(
33 * Matcher, Matcher, MethodInterceptor[]) bindInterceptor()} statements:
35 * bindInterceptor(Matchers.subclassesOf(MyAction.class),
39 * or from an injectable type listener using {@link TypeEncounter#bindInterceptor(Matcher,
40 * org.aopalliance.intercept.MethodInterceptor[]) TypeEncounter.bindInterceptor()}.
83 binder.withSource(getSource()).bindInterceptor(classMatcher, methodMatcher,
H A DTypeEncounter.java119 void bindInterceptor(Matcher<? super Method> methodMatcher, method in interface:TypeEncounter
H A DElements.java224 public void bindInterceptor( method in class:Elements.RecordingBinder
/external/guice/core/src/com/google/inject/
H A DAbstractModule.java164 * @see Binder#bindInterceptor(com.google.inject.matcher.Matcher,
168 protected void bindInterceptor(Matcher<? super Class<?>> classMatcher, method in class:AbstractModule
171 binder().bindInterceptor(classMatcher, methodMatcher, interceptors);
H A DPrivateModule.java224 * @see Binder#bindInterceptor(com.google.inject.matcher.Matcher, com.google.inject.matcher.Matcher, org.aopalliance.intercept.MethodInterceptor[])
226 protected final void bindInterceptor(Matcher<? super Class<?>> classMatcher, method in class:PrivateModule
229 binder().bindInterceptor(classMatcher, methodMatcher, interceptors);
H A DBinder.java197 * {@link #bindInterceptor}, {@link #install}, {@link #requestStaticInjection},
226 void bindInterceptor(Matcher<? super Class<?>> classMatcher, method in interface:Binder
/external/guice/core/test/com/googlecode/guice/
H A DBytecodeGenTest.java55 bindInterceptor(any(), any(), new MethodInterceptor() {
66 bindInterceptor(any(), any(), new MethodInterceptor() {
/external/guice/core/src/com/google/inject/internal/
H A DEncounterImpl.java67 public void bindInterceptor(Matcher<? super Method> methodMatcher, method in class:EncounterImpl
/external/guice/core/test/com/google/inject/internal/util/
H A DLineNumbersTest.java65 bindInterceptor(Matchers.only(A.class), Matchers.any(),
/external/guice/core/test/com/googlecode/guice/bundle/
H A DOSGiTestActivator.java448 bindInterceptor(new AbstractMatcher<Class<?>>() {
/external/guice/core/test/com/google/inject/spi/
H A DElementsTest.java703 bindInterceptor(classMatcher, methodMatcher, methodInterceptor);
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
H A DFactoryProvider2Test.java768 bindInterceptor(Matchers.any(), Matchers.any(), interceptor);
/external/testng/lib-supplied/
H A Dguice-2.0.jarMETA-INF/ META-INF/MANIFEST.MF LICENSE NOTICE org/ org/testng/ org/testng/guice/ org/testng/ ...

Completed in 521 milliseconds