Hello,

I have a simple scenario and can't seem to find the best approach :

I want to log all actions on a web application that also have
scheduled processes (out of session scope)

The log should contain the user name or "scheduler" if the action is
done by the scheduler.

How to tell when a Session scoped object is defined, and fall back to
the singleton scoped implementation when out of session ?

Is it possible to know when a session scope exists whithout try
catching the "com.google.inject.OutOfScopeException: Cannot access
scoped object" Exception ?
Should I use a different injector ?

What is the best practice on this ?


-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en.

Reply via email to