Skip to content

Commit

Permalink
Fix advice precedence circularity error. #11
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroxpepe committed Jun 27, 2020
1 parent 327ce8f commit 68145c9
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
import org.apache.commons.lang.StringEscapeUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;
import twitter4j.PagableResponseList;
import twitter4j.Paging;
import twitter4j.ResponseList;
Expand All @@ -41,6 +43,8 @@
/**
* @author h.adachi
*/
@Service(value="tweetService")
@Scope(value="prototype")
public class SimpleTweetService implements TweetService {

private static final Log LOG = LogFactory.getLog(
Expand Down
6 changes: 3 additions & 3 deletions source/webapp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
</dependency>

<!-- exmp-aspect -->
<dependency>
<!--<dependency>
<groupId>org.examproject.tweet</groupId>
<artifactId>exmp-aspect</artifactId>
<version>${version}</version>
</dependency>
</dependency>-->

<!--//////////////////////////////////////////////////////////////////////////-->
<!-- OSS LIB -->
Expand Down Expand Up @@ -194,5 +194,5 @@
</plugin>
</plugins>
</build>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
<import resource="data-config.xml" />

<!-- import the configurations of the user libraries of the application. -->
<import resource="user/exmp-english-config.xml" />
<import resource="user/tweet-config.xml" />

</beans>
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.1.xsd">

<aop:aspectj-autoproxy proxy-target-class="true" />
<!--<aop:aspectj-autoproxy proxy-target-class="true" />-->

<bean id="oAuthValue"
class="org.examproject.tweet.value.OAuthValue"
Expand Down Expand Up @@ -58,16 +58,16 @@
scope="prototype">
</bean>

<bean name="tweetService"
<!--<bean name="tweetService"
class="org.examproject.tweet.service.SimpleTweetService"
scope="prototype">
</bean>
</bean>-->

<!-- extension module -->

<bean name="serviceAspect"
<!--<bean name="serviceAspect"
class="org.examproject.tweet.aspect.TweetServiceAspect">
</bean>
</bean>-->

<!-- tagcrowd -->

Expand All @@ -90,9 +90,9 @@
scope="prototype">
</bean>

<bean name="tagcrowdServiceAspect"
<!--<bean name="tagcrowdServiceAspect"
class="org.examproject.tweet.aspect.TagcrowdServiceAspect">
</bean>
</bean>-->

<!-- calendar -->

Expand Down

0 comments on commit 68145c9

Please sign in to comment.