This diagram depicts the adapter and plug-in class.