Use the registry to resolve de-serialized endpoint references

git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@802404 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
slaws 2009-08-08 15:58:58 +00:00
parent 9e0d3fff1a
commit 5b01fbe072

View file

@ -98,7 +98,7 @@ public class EndpointReferenceProcessor extends BaseAssemblyProcessor implements
// the endpoint registry will be consulted
endpoint.setUnresolved(true);
endpoint.setURI(reference.getTargets().get(0).getName());
endpointReference.setStatus(EndpointReference.WIRED_TARGET_FOUND_READY_FOR_MATCHING);
endpointReference.setStatus(EndpointReference.WIRED_TARGET_NOT_FOUND);
endpointReference.setUnresolved(true);
} else {
endpoint.setUnresolved(false);