@Override
    public void gateway(GatewayBean gateway) {
        try {
            logger.info(Messages.i18n.format("StorageImportDispatcher.ImportingGateway") + gateway.getName()); //$NON-NLS-1$
            GatewayBean gatewayBean = storage.getGateway(gateway.getId());
            if (gatewayBean != null) {
                storage.updateGateway(gateway);
            } else {
                storage.createGateway(gateway);
            }
        } catch (StorageException e) {
            error(e);
        }
    }
@see io.apiman.manager.api.exportimport.read.IImportReaderDispatcher#gateway(io.apiman.manager.api.beans.gateways.GatewayBean)
manager/api/export-import/src/main/java/io/apiman/manager/api/exportimport/manager/StorageImportDispatcher.java