@Override public void applyPolicy() throws AxisFault { getAxisService().applyPolicy(); } }
@Override public void applyPolicy() throws AxisFault { getAxisService().applyPolicy(); } }
@Override public void applyPolicy() throws AxisFault { getAxisEndpoint().getAxisService().applyPolicy(); } }
@Override public void applyPolicy() throws AxisFault { getAxisEndpoint().getAxisService().applyPolicy(); } }
public Policy getEffectivePolicy() { Collection<PolicyComponent> policyList = new ArrayList<PolicyComponent>(); policyList.addAll(getPolicySubject().getAttachedPolicyComponents()); // AxisEndpoint AxisEndpoint axisEndpoint = getAxisEndpoint(); if (axisEndpoint != null) { policyList.addAll(axisEndpoint.getPolicySubject().getAttachedPolicyComponents()); } AxisService service = null; if (axisEndpoint != null) { service = axisEndpoint.getAxisService(); } if (service != null) { PolicySubject servicePolicySubject = service.getPolicySubject(); if (servicePolicySubject != null) { policyList.addAll(servicePolicySubject.getAttachedPolicyComponents()); } } return PolicyUtil.getMergedPolicy(policyList, this); }
public Policy getEffectivePolicy() { Collection<PolicyComponent> policyList = new ArrayList<PolicyComponent>(); policyList.addAll(getPolicySubject().getAttachedPolicyComponents()); // AxisEndpoint AxisEndpoint axisEndpoint = getAxisEndpoint(); if (axisEndpoint != null) { policyList.addAll(axisEndpoint.getPolicySubject().getAttachedPolicyComponents()); } AxisService service = null; if (axisEndpoint != null) { service = axisEndpoint.getAxisService(); } if (service != null) { PolicySubject servicePolicySubject = service.getPolicySubject(); if (servicePolicySubject != null) { policyList.addAll(servicePolicySubject.getAttachedPolicyComponents()); } } return PolicyUtil.getMergedPolicy(policyList, this); }
private AxisDescription getUpperLevel(short type, AxisDescription thisLevel) { switch (type) { case AXIS_BINDING_MESSAGE: return ((AxisBindingMessage) thisLevel).getAxisBindingOperation(); case AXIS_BINDING_OPERATION: return ((AxisBindingOperation) thisLevel).getAxisBinding(); case AXIS_BINDING: return ((AxisBinding) thisLevel).getAxisEndpoint(); case AXIS_ENDPOINT: return ((AxisEndpoint) thisLevel).getAxisService(); case AXIS_MESSAGE: return ((AxisMessage) thisLevel).getAxisOperation(); case AXIS_OPERATION: return ((AxisOperation) thisLevel).getAxisService(); case AXIS_SERVICE: return ((AxisService) thisLevel).getAxisServiceGroup(); case AXIS_SERVICE_GROUP: return ((AxisServiceGroup) thisLevel).getAxisConfiguration(); default: return null; } }
private AxisDescription getUpperLevel(short type, AxisDescription thisLevel) { switch (type) { case AXIS_BINDING_MESSAGE: return ((AxisBindingMessage) thisLevel).getAxisBindingOperation(); case AXIS_BINDING_OPERATION: return ((AxisBindingOperation) thisLevel).getAxisBinding(); case AXIS_BINDING: return ((AxisBinding) thisLevel).getAxisEndpoint(); case AXIS_ENDPOINT: return ((AxisEndpoint) thisLevel).getAxisService(); case AXIS_MESSAGE: return ((AxisMessage) thisLevel).getAxisOperation(); case AXIS_OPERATION: return ((AxisOperation) thisLevel).getAxisService(); case AXIS_SERVICE: return ((AxisService) thisLevel).getAxisServiceGroup(); case AXIS_SERVICE_GROUP: return ((AxisServiceGroup) thisLevel).getAxisConfiguration(); default: return null; } }