@classmethod
def findClass(cls, className):
    """ Find a class object given its name.
        The search will start with protocols and then with protocols.
        """
    c = cls.getProtocols().get(className, cls.getObjects().get(className, None)
        )
    if c is None:
        raise Exception("findClass: class '%s' not found." % className)
    return c
