# Class: ServiceImporter

## vertx-service-discovery-js/service_importer~ ServiceImporter

#### new ServiceImporter()

The service importer allows integrate other discovery technologies with the Vert.x service discovery. It maps

Source:
  - vertx-service-discovery-js/service_importer.js, line 31

### Methods

#### close(closeHandler)

Closes the importer

##### Parameters:

Name | Type | Description
--- | --- | ---
`closeHandler` | function | the handle to be notified when importer is closed, may be `null`

Source:
  - vertx-service-discovery-js/service_importer.js, line 58

#### start(vertx, publisher, configuration, future)

Starts the importer.

##### Parameters:

Name | Type | Description
--- | --- | ---
`vertx` | Vertx | the vertx instance
`publisher` | ServicePublisher | the service discovery instance
`configuration` | Object | the bridge configuration if any
`future` | Future | a future on which the bridge must report the completion of the starting

Source:
  - vertx-service-discovery-js/service_importer.js, line 45