grouper-dev - RE: [grouper-dev] Proper way to get a Grouper Session in a Change Log Consumer
Subject: Grouper Developers Forum
List archive
- From: "Misagh Moayyed" <>
- To: <>
- Subject: RE: [grouper-dev] Proper way to get a Grouper Session in a Change Log Consumer
- Date: Thu, 11 Sep 2014 11:04:02 -0700 (MST)
Is the session threadsafe? You might want to use a ThreadLocal, if you choose the session to be a member field. From: [mailto:] On Behalf Of Chris Hyzer Just start one, and close in a finally block GrouperSession grouperSession = null; try { grouperSession = GrouperSession.startRootSession(); //do work } finally { GrouperSession.stopQuietly(grouperSession); } Thanks, Chris From: [] On Behalf Of John Gasper Hi all,
|
- [grouper-dev] Proper way to get a Grouper Session in a Change Log Consumer, John Gasper, 09/11/2014
- RE: [grouper-dev] Proper way to get a Grouper Session in a Change Log Consumer, Chris Hyzer, 09/11/2014
- RE: [grouper-dev] Proper way to get a Grouper Session in a Change Log Consumer, Misagh Moayyed, 09/11/2014
- RE: [grouper-dev] Proper way to get a Grouper Session in a Change Log Consumer, Chris Hyzer, 09/11/2014
- Re: [grouper-dev] Proper way to get a Grouper Session in a Change Log Consumer, John Gasper, 09/11/2014
- RE: [grouper-dev] Proper way to get a Grouper Session in a Change Log Consumer, Chris Hyzer, 09/11/2014
- Re: [grouper-dev] Proper way to get a Grouper Session in a Change Log Consumer, John Gasper, 09/11/2014
- RE: [grouper-dev] Proper way to get a Grouper Session in a Change Log Consumer, Chris Hyzer, 09/11/2014
- Re: [grouper-dev] Proper way to get a Grouper Session in a Change Log Consumer, John Gasper, 09/11/2014
- RE: [grouper-dev] Proper way to get a Grouper Session in a Change Log Consumer, Chris Hyzer, 09/11/2014
- RE: [grouper-dev] Proper way to get a Grouper Session in a Change Log Consumer, Misagh Moayyed, 09/11/2014
- RE: [grouper-dev] Proper way to get a Grouper Session in a Change Log Consumer, Chris Hyzer, 09/11/2014
Archive powered by MHonArc 2.6.16.