moved async aspect to aspectj sub-package

This commit is contained in:
Juergen Hoeller 2010-10-13 21:06:38 +00:00
parent a6569a2930
commit 21d6883139
1 changed files with 178 additions and 161 deletions

View File

@ -1,4 +1,20 @@
package org.springframework.scheduling; /*
* Copyright 2002-2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.scheduling.aspectj;
import java.util.concurrent.Callable; import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutionException;
@ -15,12 +31,12 @@ import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.AsyncResult; import org.springframework.scheduling.annotation.AsyncResult;
/** /**
* Test for AnnotationDrivenAsynchronousExecutionAspect
*
* @author Ramnivas Laddad * @author Ramnivas Laddad
*/ */
public class AnnotationDrivenAsynchronousExecutionAspectTest { public class AnnotationDrivenAsynchronousExecutionAspectTests {
private static final long WAIT_TIME = 1000; //milli seconds private static final long WAIT_TIME = 1000; //milli seconds
private CountingExecutor executor; private CountingExecutor executor;
@Before @Before
@ -158,4 +174,5 @@ public class AnnotationDrivenAsynchronousExecutionAspectTest {
return new AsyncResult<Integer>(5); return new AsyncResult<Integer>(5);
} }
} }
} }