---
title: "Object Adapter Properties"
url: https://docs.zeroc.com/ice/3.8/property-reference/object-adapter-properties
language: js
docs_index: https://docs.zeroc.com/llms.txt
---

> For an index of every page, see [llms.txt](https://docs.zeroc.com/llms.txt).

# Object Adapter Properties

Programming language: JavaScript. Other languages: [C++](https://docs.zeroc.com/ice/3.8/property-reference/object-adapter-properties/cpp.md), [C#](https://docs.zeroc.com/ice/3.8/property-reference/object-adapter-properties/csharp.md), [Java](https://docs.zeroc.com/ice/3.8/property-reference/object-adapter-properties/java.md), [MATLAB](https://docs.zeroc.com/ice/3.8/property-reference/object-adapter-properties/matlab.md), [PHP](https://docs.zeroc.com/ice/3.8/property-reference/object-adapter-properties/php.md), [Python](https://docs.zeroc.com/ice/3.8/property-reference/object-adapter-properties/python.md), [Ruby](https://docs.zeroc.com/ice/3.8/property-reference/object-adapter-properties/ruby.md), [Swift](https://docs.zeroc.com/ice/3.8/property-reference/object-adapter-properties/swift.md).

## *adapter*.ProxyOptions

`adapter.ProxyOptions=options`

Specifies the proxy options for proxies created by the object adapter. The value is a string representing the proxy options as they would be specified in a [stringified proxy](https://docs.zeroc.com/ice/3.8/runtime/invocation/syntax-for-stringified-proxies.md). The default value is `-t`, which creates twoway proxies.

## *adapter*.PublishedEndpoints

`adapter.PublishedEndpoints=endpoints`

Specifies the endpoints the object adapter advertises to clients. The object adapter embeds these endpoints in the direct proxies it creates. An object adapter configured with a router ignores this property and publishes the router's server endpoints. When this property is not set, the object adapter derives its published endpoints from its physical endpoints, as described in [Object Adapter Endpoints](https://docs.zeroc.com/ice/3.8/runtime/dispatch/object-adapter-endpoints/js.md).

## *adapter*.Router

`adapter.Router=router`

Specifies a [router](https://docs.zeroc.com/ice/3.8/services/glacier2.md) for this object adapter. The value is a stringified proxy to an `Ice::Router` object. Defining a router allows the object adapter to receive callbacks from the router over a [bidirectional connection](https://docs.zeroc.com/ice/3.8/runtime/connection-management/bidirectional-connections/js.md), thereby avoiding the need for the router to establish a connection back to the object adapter.

A router can only be assigned to one object adapter. The default value is no router.

As a proxy property, you can configure additional [aspects of the proxy](https://docs.zeroc.com/ice/3.8/property-reference/proxy-properties/js.md) using properties.
