Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Advanced-java] enclosing class creating a thread advice
- From: toneil@xxxxxxxxxx (Tim O'Neil)
- Subject: [Advanced-java] enclosing class creating a thread advice
- Date: Thu, 14 Mar 2002 07:35:13 -0800
All; I have a class that spins off a thread to do some work on a data file. This class hangs subordinate classes out to do i/o and random access file work that must be referenced by the thread. I am currently passing a reference to the entire enclosing class to the thread so it has all the stuff it needs to do its thing. This works, but it seems kinda ugly to me. I wonder if this is the way to go or does this seem like a scenario for reflection or some other method? ty *********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. ***********************************************************************
- Follow-Ups:
- [Advanced-java] enclosing class creating a thread advice
- From: Nikolaos Giannopoulos
- [Advanced-java] enclosing class creating a thread advice
- Prev by Date: [Advanced-java] jsp:include
- Next by Date: [Advanced-java] enclosing class creating a thread advice
- Previous by thread: [Advanced-java] jsp:include
- Next by thread: [Advanced-java] enclosing class creating a thread advice
- Index(es):