serviceEndpoint.addInterface(provides[j].getInterfaceName());
    protected void retrieveInterfaceFromSUDescriptor(InternalEndpoint serviceEndpoint) {        ServiceUnitLifeCycle[] sus = registry.getDeployedServiceUnits(serviceEndpoint.getComponentNameSpace().getName());        for (int i = 0; i < sus.length; i++) {            Services services = sus[i].getServices();            if (services != null) {                Provides[] provides = services.getProvides();                for (int j = 0; j < provides.length; j++) {                    if (provides[j].getInterfaceName() != null &&                        serviceEndpoint.getServiceName().equals(provides[j].getServiceName()) &&                        serviceEndpoint.getEndpointName().equals(provides[j].getEndpointName())) {                        if (logger.isDebugEnabled()) {                            logger.debug("Endpoint " + serviceEndpoint + " is provided by SU " + sus[i].getName());                            logger.debug("Endpoint " + serviceEndpoint + " implements interface " + provides[j].getInterfaceName());                        }                        serviceEndpoint.addInterface(provides[j].getInterfaceName());                    }                }            }        }    }