# Module: vertx-service-discovery-js/event_bus_service

### Classes

EventBusService

### Methods

#### (static) EventBusService.createRecord(name, address, itf, metadata) → {Object}

Sugar method to creates a record for this type.

The java interface is added to the metadata in the `service.interface` key.

##### Parameters:

Name | Type | Description
--- | --- | ---
`name` | string | the name of the service.
`address` | string | the event bus address on which the service available
`itf` | string | the Java interface (name)
`metadata` | Object | the metadata

Source:
  - vertx-service-discovery-js/event_bus_service.js, line 53

##### Returns:

the created record

Type
  Object

#### (static) EventBusService.getProxy(discovery, filter, proxyClass, resultHandler)

##### Parameters:

Name | Type | Description
--- | --- | ---
`discovery` | ServiceDiscovery |
`filter` | Object |
`proxyClass` | string |
`resultHandler` | function |

Source:
  - vertx-service-discovery-js/event_bus_service.js, line 68