AndroidInjector
of Activity
s.dagger.android
framework classes.Activity
or Fragment
).Subcomponent.Builder
pattern implement AndroidInjector.Factory
.AndroidInjector
s for a concrete subtype of a core Android type.ReleaseReferencesAt
scopes in
low-memory conditions.dagger.android
and dagger.android.support
framework classes.AndroidInjector
for the concrete DaggerApplication
.socketAddress
.port
on the wildcard address.Module
that delegate bindings.Optional
containers of values from bindings
that may or may not be present in the component.AndroidInjector
of BroadcastReceiver
s.MapKey
annotation to key bindings by a type of a BroadcastReceiver
.AndroidInjector
.Key
s.ServerCall
.true
for scopes that are annotated with CanReleaseReferences
or some
other annotation that is itself annotated with CanReleaseReferences
.MapKey
annotation for maps with Class<?>
keys.AndroidInjector
of ContentProvider
s.MapKey
annotation to key bindings by a type of a ContentProvider
.AndroidInjector
for the return type of this method.AndroidInjector
for instance
.Context
.Activity
that injects its members in DaggerActivity.onCreate(Bundle)
and can be used to
inject Fragment
s attached to it.AppCompatActivity
that injects its members in DaggerAppCompatActivity.onCreate(Bundle)
and can be
used to inject Fragment
s attached to it.AppCompatDialogFragment
that injects its members in DaggerAppCompatDialogFragment.onAttach(Context)
and can
be used to inject child Fragment
s attached to it.Application
that injects its members and can be used to inject Activity
s,
Fragment
s, Service
s, BroadcastReceiver
s and ContentProvider
s
attached to it.Application
that injects its members and can be used to inject Activity
s, framework fragments, support fragments, Service
s, BroadcastReceiver
s, and ContentProvider
s attached to it.BroadcastReceiver
that injects its members in the first call to DaggerBroadcastReceiver.onReceive(Context, Intent)
.ContentProvider
that injects its members in DaggerContentProvider.onCreate()
.DialogFragment
that injects its members in DaggerDialogFragment.onAttach(Context)
and can be used
to inject child Fragment
s attached to it.Fragment
that injects its members in DaggerFragment.onAttach(Context)
and can be used to
inject child Fragment
s attached to it.Fragment
that injects its members in DaggerFragment.onAttach(Context)
and can be used to
inject child Fragment
s attached to it.IntentService
that injects its members in DaggerIntentService.onCreate()
.Service
that injects its members in DaggerService.onCreate()
.RuntimeException
or
return null.AndroidInjector.Factory
.Set<T>
and all values are contributed to the set.Produced
objects compare equal if both are successful with equal values, or both
are failed with equal exceptions.Produced
, whose Produced.get()
will throw an
ExecutionException
with the given cause.Module
s generated by GrpcService
.Qualifier
to inject a ReleasableReferenceManager
or TypedReleasableReferenceManager
object for a particular scope.AndroidInjector
of Fragment
s.ServerCallHandler
for the
ProxyServerCallHandler
's method.Metadata
about a gRPC call.@GrpcService
.AndroidInjector
of Activity
s.AndroidInjector
of BroadcastReceiver
s.AndroidInjector
of ContentProvider
s.AndroidInjector
of Fragment
s.ProducerToken.equals(Object)
.Produced.equals(Object)
.AndroidInjector
of Service
s.AndroidInjector
of Fragment
s.activity
if an associated AndroidInjector
implementation can be found,
otherwise throws an IllegalArgumentException
.fragment
if an associated AndroidInjector
implementation can be found,
otherwise throws an IllegalArgumentException
.service
if an associated AndroidInjector
implementation can be found,
otherwise throws an IllegalArgumentException
.broadcastReceiver
if an associated AndroidInjector
implementation can
be found, otherwise throws an IllegalArgumentException
.contentProvider
if an associated AndroidInjector
implementation can be
found, otherwise throws an IllegalArgumentException
.instance
.instance
.fragment
if an associated AndroidInjector
implementation
can be found, otherwise throws an IllegalArgumentException
.instance
.@Singleton
component means the component can
provide a Server
that serves in-process requests.MapKey
annotation for maps with int
keys.Map<K, Provider<V>>
,
and the combination of the annotated key and the returned value is contributed to the map as a
key/value pair.Set<T>
, and the returned
value is contributed to the set.true
if this scope is the @ProductionScope
scope.true
if this scope is the @Reusable
scope.true
if this scope is the @Singleton
scope.Key
s.MapKey
annotation for maps with long
keys.instance
, returning true
if
successful, false
otherwise.T
.ReleasableReferenceManager.scope()
that is annotated with CanReleaseReferences
.Key.type()
and Key.qualifier()
.dagger.internal.codegen
.
It is not part of a specified API and may change at any point.@Singleton
component means the component can
provide a Netty-based Server
.ReleaseReferencesAt
scopes whose ReleaseReferencesAt.value()
is less than or equal to level
.T
,
or an exception that was thrown during that production.T
.Produces
bindings to the production component.ProductionComponent
or ProductionSubcomponent
.Component
, Subcomponent
,
ProductionComponent
, or ProductionSubcomponent
.methodDescriptor
.ServerCallHandler
that handles calls for a particular method by delegating to a handler
in a ServerServiceDefinition
returned by a factory.ServerServiceDefinition
that a ProxyServerCallHandler
delegates to.Qualifier
annotation that provides a unique namespace prefix
for the type of this key.@CanReleaseReferences
scope.CanReleaseReferences
.Application.onTrimMemory(int)
.Provider.get()
, leaving only WeakReference
s.types
that may be
requested as dependencies for the same key.WeakReference
has
not yet been cleared during garbage collection.Scope
.AnnotationMirror
that represents the scope annotation.instance
to be used in the binding graph of the built AndroidInjector
.@Singleton
Server
.AndroidInjector
of Service
s.Component
or
Subcomponent
.Produced
, whose Produced.get()
will return the given value.AndroidInjector
of Fragment
s.Key.Builder
that inherits the properties of this key.ReleasableReferenceManager
for a scope that is annotated with an annotation that itself
is annotated with CanReleaseReferences
.Copyright © 2012–2017 The Dagger Authors. All rights reserved.