R - The type of the reference object.P - The type of value of the accessible PolicyValue.public interface ReferencePolicyExpression<R,P> extends LiteralPolicyExpression<P>
injectReferenceValue(Object) method. Although reference expressions may reference complex objects, they functionally only allow the retrieval of
an object attribute returned as a PolicyValue.
| Modifier and Type | Method and Description |
|---|---|
PolicyExpressionReferenceType |
getPolicyExpressionReferenceType()
Gets the type of referenceable expressions.
|
void |
injectReferenceValue(R value)
Injects the referenced value into the expressions.
|
getPolicyValuegetExpressionTypePolicyExpressionReferenceType getPolicyExpressionReferenceType()
void injectReferenceValue(R value) throws PolicyProcessException
LiteralPolicyExpression.getPolicyValue() method.value - The reference value.PolicyProcessException - Thrown if the reference value cannot be successfully processed or the relevant accessible attribute cannot be
retrieved from the value. For example, the X509 reference expressions may require an X509 attribute to be present in a certificate. If the required
certificate attribute is not present, the this exception would be thrown.Copyright © 2010–2020 The Direct Project. All rights reserved.