result = componentRegistry.getComponentConnector(endpoint.getComponentNameSpace());
result = registry.getComponentConnector(endpoint.getComponentNameSpace());
    protected ComponentConnector getComponentConnectorByEndpointName(String endpointName) {        ComponentConnector result = null;        if (endpointName != null) {            for (Iterator i = getInternalEndpoints().iterator();i.hasNext();) {                InternalEndpoint endpoint = (InternalEndpoint) i.next();                if (endpoint.getEndpointName().equals(endpointName)) {                    result = componentRegistry.getComponentConnector(endpoint.getComponentNameSpace());                    break;                }            }        }        return result;    }