Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

getObject() - Read inbound service object from the configuration

Function:

BcAdminInboundService.getObject()

Reads the inbound service with the specified name from the configuration

Parameters:

object_name (String)

Name of the BeanConnect inbound service that is to be read.

proxy_object
(BcObject of type BcObjectType.PROXY / BcObjectType.PROXY_CLUSTER)

Proxy or proxy cluster to which the inbound service is assigned.
The specification of a proxy_object of type BcObjectType.PROXY is not permitted if the proxy belongs to a proxy cluster. In this case, the proxy cluster object must be specified as a parameter here.

Return:

(BcObject of type BcObjectType.INBOUND_SERVICE)

The read inbound service or None if no inbound service with a corresponding name exists.

Exceptions:

BcObjectException, BcParameterException, BcToolException

Example:

...
import BcAdminInboundService
import BcAdminProxy
...
proxy_obj=BcAdminProxy.getObject("BCProxy")
serv_obj=BcAdminInboundService.getObject("SRV",proxy_obj)
...