Hey, > Sorry, to the Ant and JBoss lists, but the response is > quicker from you. > > I am trying to get the name of a class during static initialization. > Normally, you do this.getClass().getName(), however > getClass() is not static > and therefore can not be called from a method, or initialization. > > Does anyone know how to do this? If you don't have to rely on polimorphism to get the real class name, then use MyClass.class.getName() HTH, Simon _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user