cz.cuni.amis.pogamut.base.utils.guice
Class AgentScope.SingletonProvider<T>

java.lang.Object
  extended by cz.cuni.amis.pogamut.base.utils.guice.AgentScope.SingletonProvider<T>
All Implemented Interfaces:
com.google.inject.Provider<T>
Enclosing class:
AgentScope

public static class AgentScope.SingletonProvider<T>
extends java.lang.Object
implements com.google.inject.Provider<T>


Constructor Summary
AgentScope.SingletonProvider(com.google.inject.Provider<T> creator)
           
 
Method Summary
 void clear()
           
 T get()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentScope.SingletonProvider

public AgentScope.SingletonProvider(com.google.inject.Provider<T> creator)
Method Detail

get

public T get()
Specified by:
get in interface com.google.inject.Provider<T>

clear

public void clear()