The javadoc for Configurable.register(Class) says that the container
should ignore and warn if a user tries to register an illegal class.
This is bad behavior, IMO. Instead it should throw an
IllegalArgumentException
I ran into this in the TCK, where the TCK was trying to register
non-static anonymous classes. Which have no public contructor. And,
really non-static inner classes shouldn't be allowed to be registered.
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com