// Note: I wish AxisProperties.newInstance could return null,
// but it doesn't seem to; makes the following if check a bit more complex,
// and disallows someone explicitly forcing JDK13IO over the others.
ImageIO imageIO =
(ImageIO)AxisProperties.newInstance(
new SPInterface(ImageIO.class, "axis.ImageIO"), "org.apache.axis.components.image.JDK13IO");
if (imageIO == null || imageIO.getClass() ==
org.apache.axis.components.image.JDK13IO.class) {
// If the imageIO is not configured look for the following:
// 1. Try the JDK 1.4 classes