public <T> T getPlugin(final Class<T> clazz) throws Exception {
Class<? extends Plugin> plugin = pluginsMap.get(clazz);
Constructor<? extends Plugin> cons = plugin
.getConstructor(ProviderSupport.class);
ProviderSupport support = new ProviderSupport(getOauthStrategy());
Plugin obj = cons.newInstance(support);
return (T) obj;
}