I know the state of an interface or a class can be modelled using UML state diagrams. But, does anybody know if any modelling language or framework supports doing the same with a component - i.e., a modular part of a system that encapsulates its contents?