@RequestScoped public class FallbackOnlyClient extends Object
Constructor and Description |
---|
FallbackOnlyClient() |
Modifier and Type | Method and Description |
---|---|
String |
fallbackForServiceB() |
int |
getCounterForInvokingServiceA() |
int |
getCounterForInvokingServiceB() |
String |
serviceA() |
String |
serviceB() |
public int getCounterForInvokingServiceA()
public int getCounterForInvokingServiceB()
@Fallback(value=StringFallbackHandler.class) public String serviceA()
@Fallback(fallbackMethod="fallbackForServiceB") public String serviceB()
public String fallbackForServiceB()
Copyright © 2016 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.