*/
public static Class getServerStateClass(PropertiesFactorySPI factory) {
// Fetch the server state class upon which this properties factory is
// associated. We need this before adding to the map.
Class clazz = factory.getClass();
PropertiesFactory annotation = (PropertiesFactory)
clazz.getAnnotation(PropertiesFactory.class);
if (annotation == null) {
logger.warning("Unable to find PropertiesFactory annotation on " +
clazz.getName());
return null;
}
return annotation.value();
}