Hi, Sorry for the delay in responding. JIRA created - https://issues.apache.org/jira/browse/DIRMINA-896
"...as soon as you declare some way to get those values in your IoHandler instance." I think, that is the key here. Thank you, Emmanuel ! ನಾಗೇಶ್ On Tue, Jun 19, 2012 at 10:24 PM, Emmanuel Lécharny <[email protected]>wrote: > Le 6/19/12 3:05 PM, ನಾಗೇಶ್ ಸುಬ್ರಹ್ಮಣ್ಯ (Nagesh S) a écrit : > > Hi, >> Is there a way to store some user defined parameter name and values at the >> time of server start-up ? I know that the sessions created by connections >> from individual clients can store certain attributes and their values. I >> was thinking, if different sessions could access commonly needed >> properties >> in a server wide accessible object. >> > Your server can have common parameters, which are available to all your > sessions, as soon as you declare some way to get those values in your > IoHandler instance. Keep in mind that you write the server and the > IoHandler instance is an instance you define and create. > > Although I can understand where you come from : it would be quite a good > idea too to store those common data into the IoService. > > I'll suggest you create a JIRA suggesting this, it could worth a > discussion. > > >> I started my career on z/OS platform and my exposure to transaction >> management came from CICS product. There, we used to use Common Work Area >> (CWA - http://bit.ly/KhKS6S) and Transaction Work Area (TWA - >> http://bit.ly/LvWCIm) which are approximately similar to server-wide and >> session-wide attributes that I am referring to in this email. >> >> Or, perhaps, this question is wrong because MINA is not (directly) meant >> to >> implement server features, such as transactional integrity, etc. ? >> > MINA is just an NIO framework. It provides session-wide attributes, but > not server-wide attributes. > > Hope it helps. > > -- > Regards, > Cordialement, > Emmanuel Lécharny > www.iktek.com > >
