So, you can use NHibernate.ISessionFactory.GetClassMetadata(System.Type) to get information about a mapped entity class in NHibernate.
However when the type is mapped as a component, GetClassMetadata blows up with an exception stating that the class is not an entity.
Is there a way to retrieve metadata information about a mapped component and its properties?