public static InstantMessengerAdaptor instantMessengerAdaptor() {
NSArray adaptors = WOApplication.application().adaptors();
InstantMessengerAdaptor matchingAdaptor = null;
Enumeration adaptorsEnum = adaptors.objectEnumerator();
while (matchingAdaptor == null && adaptorsEnum.hasMoreElements()) {
WOAdaptor adaptor = (WOAdaptor) adaptorsEnum.nextElement();
if (adaptor instanceof InstantMessengerAdaptor) {
matchingAdaptor = (InstantMessengerAdaptor) adaptor;
}
}