|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
and()
and or()
.Module
s which reduces repetition and results in
a more readable configuration.I
which will be presented to the user at a later
time.
I
, the full details of which will be logged, and the
message of which will be presented to the user at a later time.
true
if both this and the
given matcher return true
.
Binder
.Binder
.Binder
.Binder
.
Binder
.
Binder
.
Binder
.
Binder
.
Binder
.
componentType
.
Injector
to eagerly initialize this
singleton-scoped binding upon creation.
FactoryProvider
now works better with the standard @Inject
annotation. When using that annotation, parameters are matched by name and type rather than
by position. In addition, values that use the standard @Inject constructor
annotation are eligible for method interception.Binder
.
Binder
.
Binder
.
Binder
.
Binder
.
Injector
.I
and its supertypes.
@Named(key)
for each entry in
properties
.
@Named(key)
for each property.
guice-jndi-2.0.jar
.Binder
's
expression language.guice-jndi-2.0.jar
.guice-multibindings-2.0.jar
.guice-servlet-2.0.jar
.guice-spring-2.0.jar
.guice-throwingproviders-2.0.jar
.guice-jmx-2.0.jar
.modules
.
modules
.
messages
.
Binder
via the exposed methods.
binder
.
Injector
.messages
.
rewritten
.key
available to the enclosing environment
type
available to the enclosing environment.
type
available to the enclosing environment.
key
available to other modules and the injector.
type
available to other modules and the injector.
type
available to other modules and the injector.
Provides
method annotation in a
private module to indicate that the provided binding is exposed.type
.
type
.
type
.
type
.
type
.
type
.
type
.
T
.
Type
instance.
Class
instance.
null
if this
message was not caused by a throwable.
null
if it has not yet been initialized.
null
if it has not yet been initialized.
modules
.
modules
.
modules
.
modules
.
constructor
.
field
.
type
.
instance
that will be injected to fulfill
this request.
type
that will be injected to fulfill this
request.
getProvider(key).get()
.
getProvider(type).get()
.
T
.
T
.
T
.
T
.
T
.
T
.
elements
.
-1
if
this dependency does not belong to a parameter list.
methodOrConstructor
.
null
if this is a top-level injector.
provide instances
.
method
.
supertype
.
Type
instance.
GuiceServletContextListener
class as a logical place to create and configure your injector.bindings
, providers
and instances that expose their dependencies explicitly.Binder
.
Binder
.
Injector
should inject values.I
.instance
.
instance
.
Binder
.List
whose elements are of type
elementType
.
Map
whose keys are of type
keyType
and whose values are of type valueType
.
true
or false
for a given input.true
if this matches t
, false
otherwise.
T
.Injector
.Module
.override()
.Named
annotation with name
as the value.
@
Named
.keyType
/valueType
in a
Map
that is itself bound with no binding annotation.
keyType
/valueType
in a
Map
that is itself bound with no binding annotation.
keyType
/valueType
in a
Map
that is itself bound with annotation
.
keyType
/valueType
in a
Map
that is itself bound with annotation
.
keyType
/valueType
in a
Map
that is itself bound with annotationType
.
keyType
/valueType
in a
Map
that is itself bound with annotationType
.
typeArguments
to
rawType
.
typeArguments
to
rawType
and enclosed by ownerType
.
type
in a Set
that is
itself bound with no binding annotation.
type
in a Set
that is
itself bound with no binding annotation.
type
in a Set
that is
itself bound with annotation
.
type
in a Set
that is
itself bound with annotation
.
type
in a Set
that is
itself bound with annotationType
.
type
in a Set
that is
itself bound with annotationType
.
instance
.
true
if either this or the
given matcher return true
.
Provider.get()
when an attempt is made to access a scoped
object while the scope in question is not currently active.T
.Provider
that delegates to the binding for the provided type.Provider
that provides elements of type
elementType
.
Provider
.Module
to create a provider method binding.messages
.
I
.
I
.
Injector
will inject instance fields
and methods of the given object.
Injector
will inject instance fields
and methods of the given object.
Map<String, String[]>
when you want the HTTP request parameter map to be injected.Injector
will inject static fields
and methods in the given classes.
key
.
type
.
Binder
.ServletModule.configureServlets()
ServletModule.configureServlets()
Set
whose elements are of type
elementType
.
Injector
.
Injector
) to be reused for all injections for that binding.classesToSkip
when identify the
calling code.
bound
.
bound
.
Provider
that throws
a checked Exception.ThrowingProvider
using a fluent API:Binder
.
Binder
.
Binder
.
Binder
.
Binder
.
Binder
.
Binder
.
T
.Provider
that delegates to the binding for the
provided type.
override()
.
override()
.
source
as the reference location for
configuration errors.
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |