What does the scope annotation in Java guice mean?
Could someone give an example to explain how it works? I see examples like this:
@Singleton
class Log {
void log(String message) { ... }
}
But singleton has nothing to do with scope, right?
Thanks!!!