# 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)

Close 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 73

#### 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

#### stop(vertx, publisher, future)

Stops the importer.

##### Parameters:

Name | Type | Description
--- | --- | ---
`vertx` | Vertx | the vertx instance
`publisher` | ServicePublisher | the service discovery instance
`future` | Future | the future on which the bridge must report the completion of the stopping process

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