|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Iterator
interface, to make this interface easier to implement for certain types of
data sources.equals
, hashCode
, and toString
methods of Entry
.and()
and or()
.Module
s which reduces repetition and results in
a more readable configuration.element
to the ImmutableList
.
element
to the ImmutableSet
.
elements
to the ImmutableSet
,
ignoring duplicate elements (only the first duplicate element is added).
elements
to the ImmutableList
.
elements
to the ImmutableSet
,
ignoring duplicate elements (only the first duplicate element is added).
elements
to the ImmutableSet
,
ignoring duplicate elements (only the first duplicate element is added).
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
.
F
, resulting in an object
of type T
.
componentType
.
Injector
to eagerly initialize this
singleton-scoped binding upon creation.
Iterator
to the Enumeration
interface.
FactoryModuleBuilder
, constructors annotated with
@AssistedInject
indicate that multiple constructors can be injected, each with different
parameters.Binder
.
Binder
.
Binder
.
Binder
.
Binder
.
Injector
.BindingEdge
s.BindingEdge.Factory
.BindingEdge
methods to display
operations on a GraphvizEdge
.I
and its supertypes.
@Named(key)
for each entry in
properties
.
@Named(key)
for each property.
FactoryModuleBuilder
.
FactoryModuleBuilder
.
ImmutableList
based on the contents of
the Builder
.
ImmutableSet
based on the contents of
the Builder
.
Object.equals()
.
javax.inject.Named
, canonicalizes to
com.google.guice.name.Named.
javax.inject.Named
, canonicalizes to
com.google.guice.name.Named.
String.toUpperCase(java.util.Locale)
.
Iterable
object passed as a parameter to the
calling method is not null and contains no null elements.
Iterable
object passed as a parameter to the
calling method is not null and contains no null elements.
Iterable
object passed as a parameter to the
calling method is not null and contains no null elements.
Provider
that throws
a checked Exception.Module
to create a CheckedProvider
method binding that can throw exceptions.index
specifies a valid element in an array,
list or string of size size
.
index
specifies a valid element in an array,
list or string of size size
.
type
.
value
if it is non-null allowed to be null.
index
specifies a valid position in an array,
list or string of size size
.
index
specifies a valid position in an array,
list or string of size size
.
start
and end
specify a valid positions
in an array, list or string of size size
, and are in order.
Collection
instances.guice-assistedinject-3.0.jar
.Binder
's
expression language.guice-jndi-3.0.jar
.guice-multibindings-3.0.jar
.guice-persist-3.0.jar
.guice-servlet-3.0.jar
.guice-spring-3.0.jar
.guice-throwingproviders-3.0.jar
.guice-jmx-3.0.jar
.modules
.
modules
.
messages
.
Binder
via the exposed methods.
binder
.
map
.
Key
s.
Injector
.messages
.
InjectionPoint
to the
interface node that will satisfy the dependency.DependencyEdge
s.DependencyEdge.Factory
.DependencyEdge
methods to display
operations on a GraphvizEdge
.Proxy
when a circular dependency
is found.
rewritten
.Iterator
.
ListIterator
.
computeNext
must invoke this method when
there are no elements left in the iteration.
Map.Entry.equals(java.lang.Object)
.
Function
.
a
and b
are equal.
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.FactoryModuleBuilder
instead.finalizeReferent()
method which a
background thread invokes after the garbage collector reclaims the
referent.FinalizableReference.finalizeReferent()
on
them.finalizeReferent()
method which a background
thread invokes after the garbage collector reclaims the referent.finalizeReferent()
method which a background
thread invokes after the garbage collector reclaims the referent.member
, or null if there isn't one.
type
.
type
, or null if none is specified.
array
in order.
array
in order.
type
.
type
.
type
.
type
.
type
.
CheckedProvides
methods.
type
.
type
.
@Finder
or null.
T
.
Type
instance.
Class
instance.
List
of ArrowType
s into a String
that
represents combining them.
AssistedMethod
for each method in the factory.
null
if this
message was not caused by a throwable.
type
.
Binding
's
Key
.
null
if it has not yet been initialized.
null
if it has not yet been initialized.
modules
.
modules
.
modules
.
modules
.
constructor
.
field
.
supertype
.
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()
.
Binding
's
Key
.
Key
for the factory binding.
Key
for the map.
T
.
T
.
T
.
T
.
T
.
T
.
elements
.
messages
.
iterable
.
iterator
.
-1
if
this dependency does not belong to a parameter list.
methodOrConstructor
.
null
if this is a top-level injector.
provide instances
.
method
.
null
if that isn't known for this instance.
null
if that isn't known for this instance.
supertype
.
Type
instance.
Renderer
.
InjectorGrapher
.BindingTargetVisitor
that adds nodes and edges to the graph based on
the visited Binding
.GraphvizRenderer
as the Renderer
and
binds the other Graphviz factories.Renderer
implementation that writes out a Graphviz DOT file of the
graph.GuiceServletContextListener
class as a logical place to create and configure your injector.com.google.inject.Provider
for the given
JSR-330 javax.inject.Provider
.
bindings
, providers
and instances that expose their dependencies explicitly.Map.Entry.hashCode()
.
List
implementation.public static final
lists ("constant lists").Map
with reliable user-specified iteration
order.public
static final
maps ("constant maps").Set
with reliable, user-specified
iteration order.public static final
sets ("constant sets").FactoryModuleBuilder
.
FactoryModuleBuilder
.
FactoryModuleBuilder
.
FactoryModuleBuilder
.
FactoryModuleBuilder
.
FactoryModuleBuilder
.
FactoryModuleBuilder
.
FactoryModuleBuilder
.
FactoryModuleBuilder
.
FactoryModuleBuilder
.
FactoryModuleBuilder
.
FactoryModuleBuilder
.
FactoryModuleBuilder
.
FactoryModuleBuilder
.
Dependency
s and are
bound to InterfaceNode
s.ImplementationNode
s.ImplementationNode.Factory
.ImplementationNode
methods to display
operations on a GraphvizNode
.Binder
.
Binder
.
Injector
should inject values.I
.instance
.
instance
.
Injector
.InterfaceNode
s.InterfaceNode.Factory
.InterfaceNode
methods to display
operations on a GraphvizNode
.stage
.
true
if the given annotation type has no attributes.
binding
is singleton-scoped.
Toolable
.
Iterable
.Iterator
.tokens
, converted to strings if
necessary, separated by delimiter
.
tokens
, converted to strings if
necessary, separated by delimiter
.
tokens
, converted to strings if
necessary, separated by delimiter
.
tokens
, converted to strings if
necessary, separated by delimiter
.
map
, with entries
separated by entryDelimiter
, and keys and values separated with
keyValueSeparator
.
tokens
to appendable
, separated by
delimiter
.
tokens
to appendable
, separated by
delimiter
.
tokens
to appendable
, separated by
delimiter
.
tokens
to appendable
, separated by
delimiter
.
map
to appendable
, with entries
separated by entryDelimiter
, and keys and values separated with
keyValueSeparator
.
IOException
from the supplied
Appendable
.Binder
.List
whose elements are of type
elementType
.
List
instances.ConcurrentMap
builder, providing any combination of these
features: soft or weak keys, soft or weak values, timed expiration, and on-demand
computation of values.MapMaker
instance with default settings,
including strong keys, strong values, and no automatic expiration.
Map
whose keys are of type
keyType
and whose values are of type valueType
.
Map
instances.true
or false
for a given input.true
if this matches t
, false
otherwise.
T
.Field.class
, Method.class
or Constructor.class
.
Injector
.Module
.override()
.Types
API.Named
annotation with name
as the value.
String
s that we can
display in the graph for the types that come up in Binding
s.@
Named
.fromId
point to
toId
instead.
ArrayList
instance.
ArrayList
instance containing the given elements.
ArrayList
instance containing the given elements.
ArrayList
instance containing the given elements.
BindingEdge
instance and adds it to the graph.
BindingEdge
from the given node to the specified
node.
ImplementationNode
for the given
Binding
, where the Binding
is for a class that Guice
will instantiate, rather than a specific instance.
DependencyEdge
and adds it to the graph.
DependencyEdge
from the given node to a
Dependency
.
DependencyEdge
s to the graph for each of the provided
Dependency
s.
HashMap
instance.
HashSet
instance.
IdentityHashMap
instance.
ImplementationNode
and adds it to the graph.
ImplementationNode
for the given
Binding
, where the Binding
is for an instance, rather than
a class.
InterfaceNode
object for the given
Binding
.
InterfaceNode
and adds it to the graph.
LinkedHashMap
instance.
LinkedHashSet
instance.
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
.
TreeMap
instance using the natural ordering of its
elements.
null
is an acceptable value for that parameter.Object
.Injector
to graph.
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.MapBinder
to handle duplicate entries.
moreClassesToSkip
.
ImplementationNode
-displaying GraphvizNode
s.PortIdFactory
.T
.Provider
that delegates to the binding for the provided type.Provides
.Provider
that provides elements of type
elementType
.
Provider
.Module
to create a provider method binding.messages
.
key
with value
in the built map.
map's
keys and values in the built map.
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
.
Class
es to use as the starting point for
the graph.
Binder
.ServletModule.configureServlets()
ServletModule.configureServlets()
ServletModule
.Key
that this node is for.
Object
that's the already-created instance.
Set
whose elements are of type
elementType
.
Set
instances.NameFactory
.Injector
.
Injector
) to be reused for all injections for that binding.value
.
classesToSkip
when identify the
calling code.
SoftReference
(by default, strong references
are used).
SoftReference
(by default, strong references
are used).
IdFactory
implementation that for String
node IDs.fromIndex
, inclusive, and toIndex
, exclusive.
bound
.
bound
.
CheckedProvider
instead.CheckedProvider
.Binder
.
Binder
.
Binder
.
Binder
.
Binder
.
Binder
.
Injector
running in Stage.TOOL
that a method should be injected.Binder
.
Binder
.
Binder
.
Binder
.
{key}={value}
.
java.util.ArrayList.size
,
java.util.ArrayList<init>()
or java.util.List.remove()
.
iterable
, with the format
[e1, e2, ..., en]
.
iterator
, with the format
[e1, e2, ..., en]
.
toString()
methods.function
to each element of fromIterable
.
function
to each element of fromIterator
.
BindingTargetVisitor
that returns a Collection
of the
Key
s of each Binding
's dependencies.T
.iterator
.
UnmodifiableIterator.remove()
.AssistedInjectBinding
created through FactoryModuleBuilder
.
ConstructorBinding
s.
ConvertedConstantBinding
.
InstanceBinding
.
LinkedKeyBinding
.
ProviderBinding
.
GraphingVisitor.visit(InstanceBinding)
, but the
BindingEdge
is BindingEdge.Type.PROVIDER
.
GraphingVisitor.visit(LinkedKeyBinding)
, but the
BindingEdge
is BindingEdge.Type.PROVIDER
.
Multibinder
.
MapBinder
.
ServletModule.filter(java.lang.String, java.lang.String...)
, where
ServletModule.FilterKeyBindingBuilder.through(java.lang.Class extends javax.servlet.Filter>)
is called with a Class or Key.
ServletModule.filter(java.lang.String, java.lang.String...)
where
ServletModule.FilterKeyBindingBuilder.through(java.lang.Class extends javax.servlet.Filter>)
is called with a Filter
.
ServletModule.serve(java.lang.String, java.lang.String...)
where
ServletModule.ServletKeyBindingBuilder.with(java.lang.Class extends javax.servlet.http.HttpServlet>)
, is called with a Class or Key.
ServletModule.serve(java.lang.String, java.lang.String...)
where
ServletModule.ServletKeyBindingBuilder.with(java.lang.Class extends javax.servlet.http.HttpServlet>)
, is called with an HttpServlet
.
Provider
that delegates to the binding for the
provided type.
WeakReference
(by default, strong references
are used).
WeakReference
(by default, strong references
are used).
override()
.
override()
.
source
as the reference location for
configuration errors.
source
as a reference point for newly added errors.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |