OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:guice
(Results
176 - 200
of
411
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/guice/core/test/com/google/inject/example/
ClientServiceWithGuice.java
23
import com.google.inject.
Guice
;
87
Injector injector =
Guice
.createInjector(new MyModule());
ClientServiceWithGuiceDefaults.java
20
import com.google.inject.
Guice
;
83
Injector injector =
Guice
.createInjector();
/external/guice/extensions/persist/
pom.xml
12
<artifactId>
guice
-persist</artifactId>
14
<name>Google
Guice
- Extensions - Persist</name>
/external/guice/extensions/persist/test/com/google/inject/persist/jpa/
CustomPropsEntityManagerFactoryProvisionTest.java
19
import com.google.inject.
Guice
;
43
injector =
Guice
.createInjector(new JpaPersistModule("testUnit").properties(props));
/external/guice/extensions/struts2/test/com/google/inject/struts2/
Struts2FactoryTest.java
21
import com.google.inject.
Guice
;
52
return
Guice
.createInjector(
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
CheckedProvides.java
30
* injected.
Guice
will pass dependencies to the method as parameters. Install
47
* Whether exceptions should be put into the
Guice
scope.
/external/guice/util/
generate-latest-docs.sh
3
if [ "$TRAVIS_REPO_SLUG" == "google/
guice
" ] && \
18
git clone --quiet --branch=gh-pages https://${GH_TOKEN}@github.com/google/
guice
gh-pages > /dev/null
/prebuilts/tools/common/m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/
sisu-guice-3.1.0.pom
8
<artifactId>
guice
-parent</artifactId>
13
<artifactId>sisu-
guice
</artifactId>
15
<name>Sisu
Guice
- Core Library</name>
140
<id>
guice
.with.no_aop</id>
143
<name>
guice
.with.no_aop</name>
204
| JarJar build profile: re-package ASM and CGLIB classes under the
Guice
namespace
206
<id>
guice
.with.jarjar</id>
209
<name>
guice
.with.jarjar</name>
/external/guice/core/test/com/google/inject/
GenericInjectionTest.java
39
Injector injector =
Guice
.createInjector((Module) new AbstractModule() {
55
* passes under
Guice
1.0. The workaround is to add an explicit binding for
60
=
Guice
.createInjector().getInstance(Key.get(new TypeLiteral<Parameterized<String>>() {}));
65
Injector injector =
Guice
.createInjector(new AbstractModule() {
146
Injector injector =
Guice
.createInjector(bindDataModule, bindingModule);
175
Injector injector =
Guice
.createInjector(new AbstractModule() {
ProvisionListenerTest.java
52
Injector injector =
Guice
.createInjector(new AbstractModule() {
73
Injector injector =
Guice
.createInjector(new AbstractModule() {
94
Injector injector =
Guice
.createInjector(new AbstractModule() {
114
Injector injector =
Guice
.createInjector(new AbstractModule() {
135
Injector injector =
Guice
.createInjector(new AbstractModule() {
165
Injector injector =
Guice
.createInjector(new AbstractModule() {
194
Injector injector =
Guice
.createInjector(new AbstractModule() {
216
Injector injector =
Guice
.createInjector(new AbstractModule() {
237
Injector injector =
Guice
.createInjector(new AbstractModule() {
252
Injector injector =
Guice
.createInjector(new AbstractModule()
[
all
...]
TypeConversionTest.java
77
Injector injector =
Guice
.createInjector(new AbstractModule() {
93
Injector injector =
Guice
.createInjector(new AbstractModule() {
124
Injector injector =
Guice
.createInjector(new AbstractModule() {
175
Injector injector =
Guice
.createInjector(new OuterErrorModule());
195
Injector injector =
Guice
.createInjector(new AbstractModule() {
216
Injector injector =
Guice
.createInjector(new AbstractModule() {
237
Injector injector =
Guice
.createInjector(new AbstractModule() {
254
Injector injector =
Guice
.createInjector(new AbstractModule() {
284
Guice
.createInjector(module);
331
Guice
.createInjector(new OuterModule(new ConverterNullModule()))
[
all
...]
AllTests.java
45
import com.googlecode.
guice
.GuiceTck;
46
import com.googlecode.
guice
.Jsr330Test;
150
suite.addTestSuite(com.googlecode.
guice
.BytecodeGenTest.class);
153
// googlecode.
guice
154
suite.addTestSuite(com.googlecode.
guice
.OSGiContainerTest.class);
NullableInjectionPointTest.java
100
return
Guice
.createInjector(
117
Guice
.createInjector(new AbstractModule() {
131
Injector injector =
Guice
.createInjector(new AbstractModule() {
152
Injector injector =
Guice
.createInjector(new AbstractModule() {
173
Injector injector =
Guice
.createInjector(new AbstractModule() {
ProvisionExceptionsTest.java
36
Injector injector =
Guice
.createInjector(new AbstractModule() {
58
Injector injector =
Guice
.createInjector(new AbstractModule() {
80
Injector injector =
Guice
.createInjector(new AbstractModule() {
105
Injector injector =
Guice
.createInjector(new AbstractModule() {
128
Injector injector =
Guice
.createInjector(new AbstractModule() {
/external/guice/core/test/com/google/inject/spi/
ToolStageInjectorTest.java
6
import com.google.inject.
Guice
;
30
Injector injector =
Guice
.createInjector(Stage.TOOL);
64
Guice
.createInjector(Stage.TOOL, new AbstractModule() {
79
Guice
.createInjector(Stage.TOOL, new AbstractModule() {
95
Guice
.createInjector(Stage.TOOL, new AbstractModule() {
113
Guice
.createInjector(Stage.TOOL, new AbstractModule() {
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
FactoryProviderTest.java
26
import com.google.inject.
Guice
;
55
Injector injector =
Guice
.createInjector(new AbstractModule() {
75
Injector injector =
Guice
.createInjector(new AbstractModule() {
91
Injector injector =
Guice
.createInjector(new AbstractModule() {
154
Injector injector =
Guice
.createInjector(new AbstractModule() {
227
Injector injector =
Guice
.createInjector(new AbstractModule() {
264
Injector injector =
Guice
.createInjector(new AbstractModule() {
291
Injector injector =
Guice
.createInjector(new AbstractModule() {
323
Injector injector =
Guice
.createInjector(new AbstractModule() {
360
Injector injector =
Guice
.createInjector(new AbstractModule()
[
all
...]
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
ProvidesIntoTest.java
28
import com.google.inject.
Guice
;
50
Injector injector =
Guice
.createInjector(MultibindingsScanner.asModule(), new AbstractModule() {
199
Injector injector =
Guice
.createInjector(
222
Guice
.createInjector(MultibindingsScanner.asModule(), m);
262
Injector injector =
Guice
.createInjector(MultibindingsScanner.asModule(), m);
278
Guice
.createInjector(MultibindingsScanner.asModule(), m);
298
Guice
.createInjector(MultibindingsScanner.asModule(), m);
313
Guice
.createInjector(MultibindingsScanner.asModule(), m);
340
Guice
.createInjector(MultibindingsScanner.asModule(), m);
365
Guice
.createInjector(MultibindingsScanner.asModule(), m)
[
all
...]
OptionalBinderTest.java
37
import com.google.inject.
Guice
;
137
Guice
.createInjector(module);
153
Injector injector =
Guice
.createInjector(module);
186
Injector injector =
Guice
.createInjector(module);
225
Injector injector =
Guice
.createInjector(module);
264
Injector injector =
Guice
.createInjector(module);
306
Injector injector =
Guice
.createInjector(module);
362
Injector injector =
Guice
.createInjector(module1, module2, module3);
410
Injector injector =
Guice
.createInjector(module);
452
Injector injector =
Guice
.createInjector(module)
[
all
...]
/external/guice/core/src/com/google/inject/internal/
SingletonScope.java
36
* 1)
Guice
has never truly expected to be used in multi threading environment
38
* code with
Guice
that propagates state between threads. And Singleton
40
* 2)
Guice
supports circular dependencies and thus manages proxy objects.
42
* it is expected to be done by
Guice
. Singleton scope needs to be
45
* 3) To make things worse,
Guice
has a very tricky definition for a binding
49
* 4) There is no readily available code in
Guice
that can detect a potential
54
* 5)
Guice
has a pretty strong contract regarding Garbage Collection,
58
* 6)
Guice
is relatively fast and we should not make things worse.
62
* 7) Error message generation in
Guice
was not meant to be used like this and to work around
152
// don't remember proxies created by
Guice
on circular dependenc
[
all
...]
BytecodeGen.java
53
* <li><strong>
Guice
's class loader.</strong>
55
* selectively delegates to either the user's class loader (for user classes) or the
Guice
57
* loader that owns the classes generated by
Guice
.
123
* Weak cache of bridge class loaders that make the
Guice
implementation
221
* The required visibility of a user's class from a
Guice
-generated class. Visibility of
230
* Indicates that
Guice
-generated classes only need to call and override public members of the
241
* Indicates that
Guice
-generated classes need to call or override package-private members.
288
* Loader for
Guice
-generated classes. For referenced classes, this delegates to either either the
289
* user's classloader (which is the parent of this classloader) or
Guice
's class loader.
/external/guice/extensions/servlet/test/com/google/inject/servlet/
ServletDispatchIntegrationTest.java
25
import com.google.inject.
Guice
;
46
* Tests the FilterPipeline that dispatches to
guice
-managed servlets,
66
final Injector injector =
Guice
.createInjector(new ServletModule() {
110
final Injector injector =
Guice
.createInjector(new ServletModule() {
235
Guice
.createInjector(new ServletModule() {
270
final Injector injector =
Guice
.createInjector(new ServletModule() {
308
final Injector injector =
Guice
.createInjector(new ServletModule() {
/external/guice/core/test/com/google/inject/util/
OverrideModuleTest.java
21
import static com.google.inject.
Guice
.createInjector;
34
import com.google.inject.
Guice
;
257
Guice
.createInjector(module);
364
// the value.get() call should be deferred until
Guice
.createInjector
366
Injector injector =
Guice
.createInjector(overridden);
414
Injector injector =
Guice
.createInjector(Modules.override(exposes5and6).with(exposes15));
419
Injector reverse =
Guice
.createInjector(Modules.override(exposes15).with(exposes5and6));
438
Injector injector =
Guice
.createInjector(Modules.override(exposes5).with(binds15));
441
Injector reverse =
Guice
.createInjector(Modules.override(binds15).with(exposes5));
463
Injector injector =
Guice
.createInjector(Modules.override(exposes5).with(EMPTY_MODULE))
[
all
...]
/external/guice/
build.xml
3
<project name="
guice
" default="compile">
22
<jar jarfile="${build.dir}/dist/
guice
-${version}.jar"
89
<zip destfile="${build.dir}/
guice
-${version}.zip">
90
<zipfileset dir="${build.dir}/dist" prefix="
guice
-${version}" excludes="*-src.jar"/>
92
<zip destfile="${build.dir}/
guice
-${version}-src.zip">
93
<zipfileset dir="." prefix="
guice
-${version}-src"
119
<pathelement location="${build.dir}/
guice
-${version}-tests.jar"/>
120
<pathelement location="${build.dir}/dist/
guice
-${version}.jar"/>
188
<param name="-javadocold" value="http://google.github.io/
guice
/api-docs/${old.api}/javadoc/"/>
191
<param name="-javadocnew" value="http://google.github.io/
guice
/api-docs/${new.api}/javadoc/"/
[
all
...]
/external/guice/extensions/servlet/src/com/google/inject/servlet/
ServletModule.java
66
* and filters with
guice
-servlet. Think of this as an in-code replacement for web.xml.
68
* example of registering a filter when creating your
Guice
injector:
71
*
Guice
.createInjector(..., new ServletModule() {
99
*
Guice
.createInjector(..., new ServletModule() {
128
* Since this rule matches,
Guice
Servlet will dispatch to {@code MyServlet}. These
157
* Servlets and filters registered in
Guice
-servlet using a {@link java.util.Map} of parameter
175
* only a
Guice
module and an annotation:
196
* modules. This is essential if you want to package and offer drop-in
Guice
plugins that
200
*
Guice
Servlet allows you to register several instances of {@code ServletModule} to your
/external/guice/core/test/com/google/inject/internal/util/
LineNumbersTest.java
24
import com.google.inject.
Guice
;
41
Guice
.createInjector(new AbstractModule() {
63
Guice
.createInjector(new AbstractModule() {
120
Guice
.createInjector(new AbstractModule() {
136
Injector injector =
Guice
.createInjector(new AbstractModule() {
Completed in 261 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>