public void processOauthService(@Observes ProcessAnnotatedType<? extends OAuthService> pat) {
pat.veto();
AnnotatedType<? extends OAuthService> at = pat.getAnnotatedType();
Class<? extends OAuthService> clazz = (Class<? extends OAuthService>) at.getBaseType();
OAuth qualOauth = at.getAnnotation(OAuth.class);
if (qualOauth != null)
version2ServiceClass.put(qualOauth.value(), clazz);
}