private void build(EndpointReference endpointReference) { BindingBuilder builder = builders.getBindingBuilder(endpointReference.getBinding().getType()); if (builder != null) { builder.build(endpointReference.getComponent(), endpointReference.getReference(), endpointReference.getBinding(), new BuilderContext(extensionPoints), false); } }
this, "reference", epr.getComponent().getName(), epr.getReference().getName()); } else if ( Constants.PROPAGATES_TRANSACTION_INTENT.equals(eprIntent.getName())) { this, "reference", epr.getComponent().getName(), epr.getReference().getName()); this, "reference", epr.getComponent().getName(), epr.getReference().getName());
private Composite wrap(EndpointReference endpointReference) { try { Composite composite = assemblyFactory.createComposite(); composite.setName(ENDPOINT_REFERENCE_QNAME); composite.setLocal(false); Component component = (Component)endpointReference.getComponent().clone(); composite.getComponents().add(component); component.getReferences().clear(); component.getServices().clear(); ComponentReference reference = (ComponentReference)endpointReference.getReference().clone(); component.getReferences().add(reference); reference.getBindings().clear(); Binding binding = (Binding)endpointReference.getBinding().clone(); reference.getBindings().add(binding); //reference.setInterfaceContract(endpointReference.getInterfaceContract()); if (endpointReference.getStatus() != EndpointReference.Status.RESOLVED_BINDING){ ComponentService service = assemblyFactory.createComponentService(); service.setName(endpointReference.getTargetEndpoint().getURI()); reference.getTargets().clear(); reference.getTargets().add(service); } return composite; } catch (CloneNotSupportedException e) { return null; } }
this, "reference", epr.getComponent().getName(), epr.getReference().getName()); } else if ( Constants.PROPAGATES_TRANSACTION_INTENT.equals(eprIntent.getName())) { this, "reference", epr.getComponent().getName(), epr.getReference().getName()); this, "reference", epr.getComponent().getName(), epr.getReference().getName());
private Composite wrap(EndpointReference endpointReference) { try { Composite composite = assemblyFactory.createComposite(); composite.setName(ENDPOINT_REFERENCE_QNAME); composite.setLocal(false); Component component = (Component)endpointReference.getComponent().clone(); composite.getComponents().add(component); component.getReferences().clear(); component.getServices().clear(); ComponentReference reference = (ComponentReference)endpointReference.getReference().clone(); component.getReferences().add(reference); reference.getBindings().clear(); Binding binding = (Binding)endpointReference.getBinding().clone(); reference.getBindings().add(binding); //reference.setInterfaceContract(endpointReference.getInterfaceContract()); if (endpointReference.getStatus() != EndpointReference.Status.RESOLVED_BINDING){ ComponentService service = assemblyFactory.createComponentService(); service.setName(endpointReference.getTargetEndpoint().getURI()); reference.getTargets().clear(); reference.getTargets().add(service); } return composite; } catch (CloneNotSupportedException e) { return null; } }
CompositeContext compositeContext = ((RuntimeComponent)epr.getComponent()).getComponentContext().getCompositeContext(); Composite domainComposite = compositeContext.getDomainComposite(); Definitions systemDefinitions = compositeContext.getSystemDefinitions(); (isApplicableToSubject(document, appliesToSubjects, domainComposite, epr.getReference().getInterfaceContract().getInterface(), ps))) continue; else if ( isApplicableToSubject(document, appliesToSubjects, domainComposite, epr.getComponent(), ps)) continue; else if ( isApplicableToSubject(document, appliesToSubjects, domainComposite, domainComposite, ps))
CompositeContext compositeContext = ((RuntimeComponent)epr.getComponent()).getComponentContext().getCompositeContext(); Composite domainComposite = compositeContext.getDomainComposite(); Definitions systemDefinitions = compositeContext.getSystemDefinitions(); (isApplicableToSubject(document, appliesToSubjects, domainComposite, epr.getReference().getInterfaceContract().getInterface(), ps))) continue; else if ( isApplicableToSubject(document, appliesToSubjects, domainComposite, epr.getComponent(), ps)) continue; else if ( isApplicableToSubject(document, appliesToSubjects, domainComposite, domainComposite, ps))
this.component = (RuntimeComponent)endpointReference.getComponent(); this.reference = (RuntimeComponentReference)endpointReference.getReference(); throw new ServiceRuntimeException("rpc/encoded WSDL style not supported. Component " + endpointReference.getComponent().getName() + " Reference " + endpointReference.getReference() + " Binding " + endpointReference.getBinding().getName()); throw new ServiceRuntimeException("doc/encoded WSDL style not supported. Component " + endpointReference.getComponent().getName() + " Reference " + endpointReference.getReference() + " Binding " + endpointReference.getBinding().getName());
callbackEndpoint.setComponent(endpointReference.getComponent()); callbackEndpoint.setService(callbackService);
if (endpointReference.getComponent() == endpoint.getComponent()) { continue;
inherit(epr, null, true, epr.getReference(), epr.getComponent(), composite);
inherit(epr, null, true, epr.getReference(), epr.getComponent(), composite);