generated from konveyor/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Juan Manuel Leflet Estrada <jleflete@redhat.com>
- Loading branch information
Showing
3 changed files
with
43 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 15 additions & 3 deletions
18
...generated/spring-framework/tests/data/core-container/src/main/java/org/konveyor/Main.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,31 @@ | ||
package org.konveyor; | ||
|
||
import org.konveyor.beans.Bean; | ||
import org.springframework.beans.BeanInfoFactory; | ||
import org.springframework.beans.SimpleBeanInfoFactory; | ||
import org.springframework.scheduling.annotation.Async; | ||
|
||
import java.beans.BeanInfo; | ||
import java.beans.IntrospectionException; | ||
|
||
import org.springframework.beans.BeanInfoFactory; | ||
import org.springframework.beans.SimpleBeanInfoFactory; | ||
import java.util.concurrent.RunnableFuture; | ||
|
||
public class Main { | ||
|
||
public static void main(String[] args) throws IntrospectionException { | ||
BeanInfoFactory factory = new SimpleBeanInfoFactory(); | ||
BeanInfo beanInfo = factory.getBeanInfo(Bean.class); | ||
System.out.println(beanInfo.getBeanDescriptor()); | ||
|
||
|
||
} | ||
|
||
@Async | ||
public RunnableFuture<String> correctAsyncMethod(String param) { | ||
return null; | ||
} | ||
|
||
@Async | ||
public void correctAsyncMethod2(String param) { | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters