Made the setMode(...) method protected.
Using WebLogic 10 with JDK 1.5 suddenly resulted in calling this method, leading to a java.lang.ClassCastException: java.lang.String.
Authored by: keess 2008-05-20
Parent: [r1999]
Child: [r2001]