public class RequestPolicyFactory
extends java.lang.Object
Constructor and Description |
---|
RequestPolicyFactory() |
Modifier and Type | Method and Description |
---|---|
RequestPolicy |
getRequestPolicy(PaymentRequired paymentRequired)
Method that returns a RequestPolicy instance that is specified
in the given PaymentRequired annotation.
|
public RequestPolicy getRequestPolicy(PaymentRequired paymentRequired) throws InternalErrorException
paymentRequired
- the related PaymentRequired annotation.InternalErrorException
- if problems occurred creating the related RequestPolicy object.