ManagedConnectionMetaData

 



public interface javax.resource.spi.ManagedConnectionMetaData

Note:
Normally, applications do not use this interface; it is intended for use by implementations of ConnectionManager.

A ConnectionManager can use this interface to retrieve meta data that is related to an underlying physical connection to a Queue Manager. An implementation of this interface is returned from ManagedConnection.getMetaData(). For more details about this interface, see the J2EE Connector Architecture specification (refer to Sun's Web site at http://java.sun.com).

 

Methods

getEISProductName
public String getEISProductName()

Throws ResourceException.

Returns IBM WebSphere MQ.

getMaxConnections
public int getMaxConnections()

Throws ResourceException.

Returns 0.

getProductVersion
public String getProductVersion()

Throws ResourceException.

Returns a string that describes the command level of the WebSphere MQ queue manager to which the ManagedConnection is connected.

getUserName
public String getUserName()

Throws ResourceException.

If the ManagedConnection represents a client connection to a queue manager, this returns the user ID used for the connection. Otherwise, it returns an empty string.

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.