Skip to content
This repository has been archived by the owner on Jul 9, 2022. It is now read-only.

Commit

Permalink
Move out the out-style operations
Browse files Browse the repository at this point in the history
  • Loading branch information
jkew committed Sep 29, 2011
1 parent f0074c1 commit 209268f
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 160 deletions.
Expand Up @@ -7,7 +7,7 @@
import com.springsource.insight.intercept.operation.SourceCodeLocation;

/**
* A Spring Insight {@link BasicOperation} that collects MongoDB DBCollection
* A Spring Insight {@link com.springsource.insight.intercept.operation.BasicOperation} that collects MongoDB DBCollection
* operations
*
* @author stephen harrison
Expand Down
27 changes: 1 addition & 26 deletions pom.xml
Expand Up @@ -9,7 +9,7 @@
<packaging>jar</packaging>

<properties>
<insight.version>1.0.0.RELEASE</insight.version>
<insight.version>1.7.0.CI-SNAPSHOT</insight.version>
<aspectj.version>1.6.10</aspectj.version>
<spring.framework.version>3.0.4.RELEASE</spring.framework.version>
<junit.version>4.8.2</junit.version>
Expand Down Expand Up @@ -71,18 +71,6 @@
<version>2.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${spring.framework.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>${spring.framework.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
Expand Down Expand Up @@ -117,19 +105,9 @@
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>RELEASE</version>
<configuration>
<downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>RELEASE</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
Expand All @@ -138,7 +116,6 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>RELEASE</version>
<executions>
<execution>
<goals>
Expand All @@ -156,7 +133,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>RELEASE</version>
<configuration>
<argLine>
-javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar"
Expand All @@ -166,7 +142,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>RELEASE</version>
<configuration>
<skip>true</skip>
</configuration>
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Expand Up @@ -14,6 +14,8 @@ public aspect MongoDbOperationCollectionAspect extends

@Override
protected Operation createOperation(final JoinPoint joinPoint) {
Operation op = new Operation();
return op;
return new MongoDbOperation(getSourceCodeLocation(joinPoint), joinPoint
.getSignature().getName(), ArgUtils.toString(joinPoint
.getArgs()));
Expand Down

0 comments on commit 209268f

Please sign in to comment.