I created this class to cut down on having to write a class Factory for
every
class object i wanted to create a LazyList for. It uses reflection to create
the object rather than a hardcoded class. The syntax for its' usage is as
follows: List myList = ListUtils.lazyList(new ArrayList(),new GenericFactory
("com.foo.MyClass")); This calls the GenericFactory which will be used to
pass
back com.foo.MyClass objects to the calling method. Please visit the about
url
to download it. It should be ready to plug right in to commons. I have
compiled
it into the nightly build and it works fine. For some reason the docs didn't
generate. But, i wasn't sure if that was an issue of the Ant script or my
javadoc. Anyways i hope to see this soon in the nightly. Also, I hope this
is
the right place to submit this.

Brandon Goodin
Phase Web and Multimedia
P (406) 862-2245
F (406) 862-0354
[EMAIL PROTECTED]
http://www.phase.ws

Attachment: GenericFactory.java
Description: Binary data

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to