RE: How to read arguments?
David - You are right! Thank you! Simple getters and setters. -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 3:04 PM To: Tomcat Users List Subject: Re: How to read arguments? You might want to check the Tomcat source for an example, but I believe Tomcat uses getter/setter bean methods to transfer that info to an instance of the object after creating it. So for instance, the attribute debug would be set by calling newRealmInstance.setDebug("992") ; --David Jim Henderson wrote: >Hi mark! > >I am the supplier of the Realm! :) > >I don't know how to access the parameters defined for the realm >configuration from within the realm java code. > >Thanks for responding. >Jim > >-Original Message- >From: Mark Thomas [mailto:[EMAIL PROTECTED] >Sent: Tuesday, May 24, 2005 2:23 PM >To: Tomcat Users List >Subject: Re: How to read arguments? > > >Jim, > >I am not sure I understand your question. Could you re-phrase it? > >What I can say is that this Realm is not part of the standard Tomcat >distribution. You might be better off talking to whoever supplied you >with this Realm. > >Mark > >Jim Henderson wrote: > > >>Can someone tell me how to access the values of "debug", "dataSourceName" >>and "dataSourceName" from within class EnterpriseCustomUserRealm? I tried >>using a Context but I missed the boat somewhere. >> >> >> >>> >> >> >className="com.metafile.tomcat.enterpriseregistry.EnterpriseCustomUserRealm " > > >> debug="992" >> dataSourceName="false" >> dataSourceName="EnterpriseUserDB" >> /> >> >> >> >>- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > > >- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to read arguments?
You might want to check the Tomcat source for an example, but I believe Tomcat uses getter/setter bean methods to transfer that info to an instance of the object after creating it. So for instance, the attribute debug would be set by calling newRealmInstance.setDebug("992") ; --David Jim Henderson wrote: Hi mark! I am the supplier of the Realm! :) I don't know how to access the parameters defined for the realm configuration from within the realm java code. Thanks for responding. Jim -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 2:23 PM To: Tomcat Users List Subject: Re: How to read arguments? Jim, I am not sure I understand your question. Could you re-phrase it? What I can say is that this Realm is not part of the standard Tomcat distribution. You might be better off talking to whoever supplied you with this Realm. Mark Jim Henderson wrote: Can someone tell me how to access the values of "debug", "dataSourceName" and "dataSourceName" from within class EnterpriseCustomUserRealm? I tried using a Context but I missed the boat somewhere. className="com.metafile.tomcat.enterpriseregistry.EnterpriseCustomUserRealm" debug="992" dataSourceName="false" dataSourceName="EnterpriseUserDB" /> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to read arguments?
Hi mark! I am the supplier of the Realm! :) I don't know how to access the parameters defined for the realm configuration from within the realm java code. Thanks for responding. Jim -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 24, 2005 2:23 PM To: Tomcat Users List Subject: Re: How to read arguments? Jim, I am not sure I understand your question. Could you re-phrase it? What I can say is that this Realm is not part of the standard Tomcat distribution. You might be better off talking to whoever supplied you with this Realm. Mark Jim Henderson wrote: > Can someone tell me how to access the values of "debug", "dataSourceName" > and "dataSourceName" from within class EnterpriseCustomUserRealm? I tried > using a Context but I missed the boat somewhere. > > > > className="com.metafile.tomcat.enterpriseregistry.EnterpriseCustomUserRealm" >debug="992" >dataSourceName="false" >dataSourceName="EnterpriseUserDB" > /> > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to read arguments?
Jim, I am not sure I understand your question. Could you re-phrase it? What I can say is that this Realm is not part of the standard Tomcat distribution. You might be better off talking to whoever supplied you with this Realm. Mark Jim Henderson wrote: Can someone tell me how to access the values of "debug", "dataSourceName" and "dataSourceName" from within class EnterpriseCustomUserRealm? I tried using a Context but I missed the boat somewhere. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to read arguments?
Can someone tell me how to access the values of "debug", "dataSourceName" and "dataSourceName" from within class EnterpriseCustomUserRealm? I tried using a Context but I missed the boat somewhere. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]