class SpecManagementServiceCDI implements SpecManagementService {

    @Override
    public boolean isContainerIdValid(final String serverTemplateId,
                                      final String containerId) {
        if (!isValidIdentifier(containerId)) {
            return false;
        }
        final ServerTemplate template = getServerTemplate(serverTemplateId);
        if (template == null) {
            throw new RuntimeException("Server template doesn't exists");
        }

        return template.getContainerSpec(containerId) == null;
    }

      SpecManagementServiceCDI();
    @Inject public  SpecManagementServiceCDI(@Any org.kie.server.controller.api.service.SpecManagementService service);

}