@Builtin @Singleton(eager=true) @Name(value="org.eiichiro.jaguar.scope.PrototypeContext") public class PrototypeContext extends Object implements Context
Context
implementation corresponding to the
Prototype
scope.
PrototypeContext
does not hold any component in the instance, so
#get(Descriptor)
method always returns null
and
#put(Descriptor, Object)
method does no-op.Constructor and Description |
---|
PrototypeContext() |
Modifier and Type | Method and Description |
---|---|
<T> T |
get(Descriptor<T> descriptor)
Always returns
null . |
<T> void |
put(Descriptor<T> descriptor,
T component)
no-op.
|
Object |
store()
Returns the component store this context manages.
|
public <T> T get(Descriptor<T> descriptor)
null
.public <T> void put(Descriptor<T> descriptor, T component)
Copyright © 2011-2014 Eiichiro Uchiumi. All Rights Reserved.