ibi.broker.api.cci
Class CasterConnectionMetaData

java.lang.Object
  extended by ibi.broker.api.cci.CasterConnectionMetaData
All Implemented Interfaces:
javax.resource.cci.ConnectionMetaData

public class CasterConnectionMetaData
extends java.lang.Object
implements javax.resource.cci.ConnectionMetaData

This class provides information about an EIS instance connected through a CasterConnection instance. A component calls the method CasterConnection.getMetaData to get a CasterConnectionMetaData instance.

Author:
unxyxc

Constructor Summary
CasterConnectionMetaData(javax.resource.spi.ManagedConnectionMetaData mcMetaData)
          Constructor for CasterConnectionMetaData.
 
Method Summary
 java.lang.String getEISProductName()
          Returns product name of the underlying EIS instance connected through the Connection object that produced this metadata.
 java.lang.String getEISProductVersion()
          Returns product name of the underlying EIS instance connected through the Connection object that produced this metadata.
 java.lang.String getUserName()
          Returns the user name for an active connection as known to the underlying EIS instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CasterConnectionMetaData

public CasterConnectionMetaData(javax.resource.spi.ManagedConnectionMetaData mcMetaData)
Constructor for CasterConnectionMetaData.

Method Detail

getEISProductName

public java.lang.String getEISProductName()
                                   throws javax.resource.ResourceException
Returns product name of the underlying EIS instance connected through the Connection object that produced this metadata.

Specified by:
getEISProductName in interface javax.resource.cci.ConnectionMetaData
Returns:
Product name of the EIS instance
Throws:
javax.resource.ResourceException - - Failed to get the information for the EIS instance
See Also:
ConnectionMetaData.getEISProductName()

getEISProductVersion

public java.lang.String getEISProductVersion()
                                      throws javax.resource.ResourceException
Returns product name of the underlying EIS instance connected through the Connection object that produced this metadata.

Specified by:
getEISProductVersion in interface javax.resource.cci.ConnectionMetaData
Returns:
Product name of the EIS instance
Throws:
javax.resource.ResourceException - - Failed to get the information for the EIS instance
See Also:
ConnectionMetaData.getEISProductVersion()

getUserName

public java.lang.String getUserName()
                             throws javax.resource.ResourceException
Returns the user name for an active connection as known to the underlying EIS instance. The name corresponds to the resource principal under whose security context a connection to the EIS instance has been established.

Specified by:
getUserName in interface javax.resource.cci.ConnectionMetaData
Returns:
String representing the user name
Throws:
javax.resource.ResourceException - - Failed to get the information for the EIS instance
See Also:
ConnectionMetaData.getUserName()


Copyright © 2006 Information Builders, Incorporated.