Class serviceInterface = Class.forName(serviceTypeName, true, deploymentContext.getClassLoader());
componentType.addServiceType(serviceName, serviceInterface);
//ServiceDefinition service = createService(serviceInterface);
//componentType.getServices().put(serviceName, service);
} catch (ClassNotFoundException e) {
throw new LoaderException(e);
}
}
// if no service tags are specified, expose all beans
componentType.setExposeAllBeans(componentType.getServiceTypes().isEmpty());
implementation.setComponentType(componentType);