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 a type in the proxy cluster

Function:

BcAdminProxyCluster.getList()

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

Parameters:

bc_object (BcObject of type BcObjectType.PROXY_CLUSTER).

Proxy cluster for which the objects of the specified cluster 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()

"proxy"

BcObjectType.PROXY.toString()

"resource-adapter"

BcObjectType.RESOURCE_ADAPTER.toString()

Return:

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

Exceptions:

BcObjectException, BcParameterException, BcToolException

Example:

...
import BcAdminProxyCluster
...
clstr_obj=BcAdminProxyCluster.getObject("BCCluster")
proxyList=BcAdminProxyCluster.getList(clstr_obj,"proxy")
...