To list resource adaptor entity link names that have been bound in the SLEE, use the following rhino-console command or related MBean operation.

Console command: listralinknames

Command

listralinknames [entity name] [-refs]
  Description
    List the bound link names (for the specified resource adaptor entity),
    optionally showing the SLEE components that reference each name

Examples

To list all resource adaptor entity link name bindings:

$ ./rhino-console listralinknames
slee/resources/cdr -> cdrra
slee/resources/map -> mapra

To list all resource adaptor entity link name bindings with the SLEE components that reference each name:

$ ./rhino-console listralinknames -refs
slee/resources/cdr -> cdrra
  referenced in ServiceID[name=VPN Service,vendor=OpenCloud,version=0.3] by:
    - SbbID[name=VPN SBB,vendor=OpenCloud,version=0.3]
slee/resources/map -> mapra
  referenced in ServiceID[name=service1,vendor=OpenCloud,version=1.0] by:
    - SbbID[name=sbb 1,vendor=OpenCloud,version=1.0]
    - SbbID[name=sbb 3,vendor=OpenCloud,version=1.1]

To list all link name bindings for the resource adaptor entity named mapra:

$ ./rhino-console listralinknames mapra
slee/resources/map

To list all link name bindings for the resource adaptor entity named mapra with the SLEE components that reference each name:

$ ./rhino-console listralinknames mapra -refs
slee/resources/map
  referenced in ServiceID[name=service1,vendor=OpenCloud,version=1.0] by:
    - SbbID[name=sbb 1,vendor=OpenCloud,version=1.0]
    - SbbID[name=sbb 3,vendor=OpenCloud,version=1.1]

MBean operation: getLinkNames

MBean

SLEE-defined

List all bound link names
public String[] getLinkNames()
    throws ManagementException;

Rhino’s implementation of the SLEE-defined getLinkNames operation returns an array of all link names that have been bound in the SLEE.


List link names to which a specific resource adaptor entity has been bound
public String[] getLinkNames(String entityName)
    throws NullPointerException,
            UnrecognizedResourceAdaptorEntityException,
            ManagementException;

The SLEE-defined operation also includes an argument for returning just link names to which a specified resource adaptor entity has been bound. If the resource adaptor entity has not been bound to any link names, the returned array is zero-length.

Previous page Next page
Rhino Version 3.2