You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Sreedhar Tatavarthi <Sr...@macrovision.com> on 2007/12/20 20:26:12 UTC
Tomcat 6.0 - org.apache.tomcat.jni.Registry
Can some one shed some light on how to use the
org.apache.tomcat.jni.Registry class?
A sample code will be very helpful. Especially on how to open &
enumerate, there is not much documentation on what each parameter means
for the open method.
Thanks
Sreedhar
------------------------------------------------
Sreedhar Tatavarthi
Senior Consultant
Global Consulting Services
Macrovision Corporation
work: (847) 466 4915
cell: (630) 347 2554
email: statavarthi@macrovision.com
RE: Tomcat 6.0 - org.apache.tomcat.jni.Registry
Posted by Sreedhar Tatavarthi <Sr...@macrovision.com>.
I am looking at the following method :
open(int root, java.lang.String name, int sam, long pool)
I understand root & name parameters. (i.e Registry.HKEY_LOCAL_MACHINE &
\SOFTWARE\\Microsoft)
What are some valid values for int sam & long pool?? (3rd and 4th
parameters).
I actually need to enumerate sub keys - I am assuming that I have to
open it before I can enumerate.
Regards
Sreedhar
------------------------------------------------
Sreedhar Tatavarthi
Senior Consultant
Global Consulting Services
Macrovision Corporation
work: (847) 466 4915
cell: (630) 347 2554
email: statavarthi@macrovision.com
-----Original Message-----
From: Martin Gainty [mailto:mgainty@hotmail.com]
Sent: Thursday, December 20, 2007 2:22 PM
To: Tomcat Users List
Subject: Re: Tomcat 6.0 - org.apache.tomcat.jni.Registry
A class to look into windows registry
http://jsourcery.com/api/apache/jakarta/tomcat/6.0.10/org/apache/tomcat/
jni/
Registry.html
Are you looking for anything specific?
M--
----- Original Message -----
From: "Sreedhar Tatavarthi" <Sr...@macrovision.com>
To: <us...@tomcat.apache.org>
Sent: Thursday, December 20, 2007 2:26 PM
Subject: Tomcat 6.0 - org.apache.tomcat.jni.Registry
Can some one shed some light on how to use the
org.apache.tomcat.jni.Registry class?
A sample code will be very helpful. Especially on how to open &
enumerate, there is not much documentation on what each parameter means
for the open method.
Thanks
Sreedhar
------------------------------------------------
Sreedhar Tatavarthi
Senior Consultant
Global Consulting Services
Macrovision Corporation
work: (847) 466 4915
cell: (630) 347 2554
email: statavarthi@macrovision.com
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat 6.0 - org.apache.tomcat.jni.Registry
Posted by Martin Gainty <mg...@hotmail.com>.
A class to look into windows registry
http://jsourcery.com/api/apache/jakarta/tomcat/6.0.10/org/apache/tomcat/jni/
Registry.html
Are you looking for anything specific?
M--
----- Original Message -----
From: "Sreedhar Tatavarthi" <Sr...@macrovision.com>
To: <us...@tomcat.apache.org>
Sent: Thursday, December 20, 2007 2:26 PM
Subject: Tomcat 6.0 - org.apache.tomcat.jni.Registry
Can some one shed some light on how to use the
org.apache.tomcat.jni.Registry class?
A sample code will be very helpful. Especially on how to open &
enumerate, there is not much documentation on what each parameter means
for the open method.
Thanks
Sreedhar
------------------------------------------------
Sreedhar Tatavarthi
Senior Consultant
Global Consulting Services
Macrovision Corporation
work: (847) 466 4915
cell: (630) 347 2554
email: statavarthi@macrovision.com
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org