Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dubbo-2298] Add Annotation-Driven for MethodConfig and ArgumentConfig #2603

Merged
merged 14 commits into from
Feb 25, 2019
Prev Previous commit
Next Next commit
remove unused
  • Loading branch information
cvictory committed Oct 8, 2018
commit 7aadbcc24957463ef7062d91c8a8a31ff2d983ee
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
public class AnnotationConsumer {

public static void main(String[] args) throws Exception {
System.setProperty("java.net.preferIPv4Stack", "true");
AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(ConsumerConfiguration.class);
context.start();
final AnnotationAction annotationAction = (AnnotationAction) context.getBean("annotationAction");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
public class AnnotationProvider {

public static void main(String[] args) throws Exception {
System.setProperty("java.net.preferIPv4Stack", "true");
AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(ProviderConfiguration.class);
context.start();
System.in.read();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
@Component("annotationAction")
public class AnnotationAction {

@Reference(methods = {@Method(name = "sayHello", timeout = 1000)})
@Reference(methods = {@Method(name = "sayHello", timeout = 5000)})
private AnnotationService annotationService;

public String doSayHello(String name) {
Expand Down