// ----------------------------------------------------------------------
// RefCountPolicyList private and protected members
// ----------------------------------------------------------------------
private static RetryAttributes getRetry(org.omg.CORBA.Policy[] policies) {
RetryAttributes attributes = new RetryAttributes();
for (int i = 0; i < policies.length; i++) {
if (policies[i].policy_type() == RETRY_POLICY_ID.value) {
RetryPolicy policy = (RetryPolicy) policies[i];
attributes.mode = policy.retry_mode();