> Does anyone has experience in passing a class as a parameter in java? You can pass the name of a class ("com.foo.package.Name") as a parameter, and then so long as the class can be found either locally on the client, or via the ARCHIVE=___.jar tag, you can create an instance via something like: new Class.forName("com.foo.package.Name"); or java.beans.Beans.instantiate(null, "com.foo.package.Name"); -- Geoffrey S. Knauth http://world.std.com/~gsk
- Passing classes as parameters Wim Ceulemans
- Re: Passing classes as parameters Pavel
- Re: Passing classes as parameters B. Craig Taverner
- Re: Passing classes as parameters Geoffrey S. Knauth
- Re: Passing classes as parameters Ravi Rao