Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

getList() - List all objects of an object type present in a proxy

Function:

BcAdminProxy.getList()

Reads all the objects of a certain type that are assigned to the proxy and returns a dictionary with the names and objects of this type.

Parameters:

bc_object (BcObjectof type BcObjectType.PROXY)

Proxy whose objects of type list_type are to be listed.

list_type (String)

Type of object of which a list of all objects in the current configuration is to be created. The following values can be specified for list_type (see also Class: BcObjectType ):

String

or the value of one of the following toString() methods

"eis-partner"

BcObjectType.EIS_PARTNER.toString()

"inbound-msg-endpoint"

BcObjectType.INBOUND_MSG_ENDPOINT.toString()

"inbound-service"

BcObjectType.INBOUND_SERVICE.toString()

"inbound-user"

BcObjectType.INBOUND_USER.toString()

"outbound-comm-endpoint"

BcObjectType.OUTBOUND_COMM_ENDPOINT.toString()

"outbound-service"

BcObjectType.OUTBOUND_SERVICE.toString()

"resource-adapter"

BcObjectType.RESOURCE_ADAPTER.toString()

Return:

Dictionary with all the objects of this type that are assigned to this proxy and the associated name as key.

Exceptions:

BcParameterException, BcObjectException, BcToolException

Note:

If the specified proxy belongs to a proxy cluster then you cannot use BcAdminProxy.getList() to read the objects configured in the proxy. They must be read using BcAdminProxyCluster.getList().

Example:

...
import BcAdminProxy
...
proxy_obj=BcAdminProxy.getObject("proxy")
bcDicn=BcAdminProxy.getList(proxy_obj,"eis-partner") 
...