|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cuni.amis.pogamut.base.utils.guice.AgentTeamScope
public class AgentTeamScope
Scope used during the construction of the whole team of agents - treating all new instances (of classes annotated with AgentTeamScoped
)
as singletons for the purpose of construction of the team of agents.
Not all pogamut.base class is AgentTeamScoped
.
Nested Class Summary | |
---|---|
static class |
AgentTeamScope.SingletonProvider<T>
|
Constructor Summary | |
---|---|
AgentTeamScope()
|
Method Summary | ||
---|---|---|
void |
clearScope()
Release all AgentScoped objects that the scope is holding. |
|
|
scope(com.google.inject.Key<T> key,
com.google.inject.Provider<T> creator)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.inject.Scope |
---|
toString |
Constructor Detail |
---|
public AgentTeamScope()
Method Detail |
---|
public <T> com.google.inject.Provider scope(com.google.inject.Key<T> key, com.google.inject.Provider<T> creator)
scope
in interface com.google.inject.Scope
public void clearScope()
IAgentScope
AgentScoped
objects that the scope is holding.
clearScope
in interface IAgentScope
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |