if (nSuffix == -1) {
continue;
}
String serviceName = serviceBeanName.substring(0, nSuffix);
ScaServiceExporter serviceBean = (ScaServiceExporter) ctx.getBean(serviceName);
// REVIEW andyp -- use the class directly?
String serviceTypeName = serviceBean.getServiceType().getName();
try {
Class serviceInterface = Class.forName(serviceTypeName, true, deploymentContext.getClassLoader());
componentType.addServiceType(serviceName, serviceInterface);
//ServiceDefinition service = createService(serviceInterface);
//componentType.getServices().put(serviceName, service);