Permalink
Browse files

Correcting configuration after AGOVA-16 & AGOVA-17 modification

  • Loading branch information...
1 parent 975203b commit 151b1c76f1e5cbca99875a7e95eb9e8a017b532b @antoinesd antoinesd committed Dec 7, 2012
Showing with 8 additions and 12 deletions.
  1. +5 −5 pom.xml
  2. +3 −7 src/main/java/org/agorava/socializer/HubProducer.java
View
10 pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.agorava</groupId>
<artifactId>agorava-parent</artifactId>
- <version>0.5.0-SNAPSHOT</version>
+ <version>0.5.1-SNAPSHOT</version>
</parent>
<artifactId>agorava-socializer</artifactId>
@@ -130,10 +130,10 @@
</dependencyManagement>
<dependencies>
- <dependency>
- <groupId>org.jboss.logging</groupId>
- <artifactId>jboss-logging</artifactId>
- </dependency>
+ <dependency>
+ <groupId>org.jboss.logging</groupId>
+ <artifactId>jboss-logging</artifactId>
+ </dependency>
<!-- First declare the APIs we depend on and need for compilation.
All of them are provided by JBoss AS 7 -->
@@ -18,7 +18,6 @@
import org.agorava.*;
import org.agorava.core.api.oauth.Param;
import org.agorava.core.cdi.OAuthApplication;
-import org.agorava.core.oauth.PropertyOAuthAppSettingsBuilder;
import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.inject.Produces;
@@ -32,26 +31,23 @@
@Twitter
@ApplicationScoped
- @OAuthApplication(builder = PropertyOAuthAppSettingsBuilder.class,
- params = {@Param(name = PREFIX, value = "twitter")})
+ @OAuthApplication(params = {@Param(name = PREFIX, value = "twitter")})
@Produces
public TwitterServicesHub twitterProducer(TwitterServicesHub service) {
return service;
}
@LinkedIn
@ApplicationScoped
- @OAuthApplication(builder = PropertyOAuthAppSettingsBuilder.class,
- params = {@Param(name = PREFIX, value = "linkedin")})
+ @OAuthApplication(params = {@Param(name = PREFIX, value = "linkedin")})
@Produces
public LinkedInServicesHub linkedInProducer(LinkedInServicesHub service) {
return service;
}
@Facebook
@ApplicationScoped
- @OAuthApplication(builder = PropertyOAuthAppSettingsBuilder.class,
- params = {@Param(name = PREFIX, value = "facebook")})
+ @OAuthApplication(params = {@Param(name = PREFIX, value = "facebook")})
@Produces
public FacebookServicesHub facebookProducer(FacebookServicesHub service) {
return service;

0 comments on commit 151b1c7

Please sign in to comment.