AW: [JBoss-user] get environment entries

2003-03-18 Thread Stefan Groschupf
Hi Guy.

thanks for you hint.
Is there a chance to loop about all entries?
In my use case my ejb does not know whats the key name of the entry.
When I loop over the java:comp/env  I get much more bindings then only my
environment entries. Is there  a chance to get only the environment entries?

Thanks
Stefan







---
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: AW: [JBoss-user] get environment entries

2003-03-18 Thread Guy Rouillier
Just an idea, I haven't tried it, but how about putting your environment 
entries down a level in the hierarchy, and looping there?  So instead of

env-entry-nameTicket Server Name/env-entry-name

try this:

env-entry-namemyEnv/Ticket Server Name/env-entry-name

And then loop over java:/com/env/myEnv.

Post a note here how it turns out.

Stefan Groschupf wrote:
Hi Guy.

thanks for you hint.
Is there a chance to loop about all entries?
In my use case my ejb does not know whats the key name of the entry.
When I loop over the java:comp/env  I get much more bindings then only my
environment entries. Is there  a chance to get only the environment entries?
Thanks
Stefan






---
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user




---
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user