com.ibm.commerce.messaging.adapters.jcasample

Class SampleManagedConnectionMetaDataImpl

  • java.lang.Object
    • com.ibm.commerce.messaging.adapters.jcasample.SampleManagedConnectionMetaDataImpl
  • All Implemented Interfaces:
    javax.resource.spi.ManagedConnectionMetaData


    public class SampleManagedConnectionMetaDataImpl
    extends java.lang.Object
    implements javax.resource.spi.ManagedConnectionMetaData

    This class implements the javax.resource.spi.ManagedConnectionMetaData interface.

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      Copyright statement.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getEISProductName()
      This method gets the enterprise information system product name.
      java.lang.String getEISProductVersion()
      This method gets the enterprise information system product version.
      int getMaxConnections()
      This method gets the maximum number of connections.
      java.lang.String getUserName()
      This method gets the user name.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        Copyright statement.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SampleManagedConnectionMetaDataImpl

        public SampleManagedConnectionMetaDataImpl(SampleManagedConnection smc)
        SampleManagedConnectionMetaDataImpl constructor
        Parameters:
        SampleManagedConnection -
    • Method Detail

      • getEISProductName

        public java.lang.String getEISProductName()
                                           throws javax.resource.ResourceException
        This method gets the enterprise information system product name.
        Specified by:
        getEISProductName in interface javax.resource.spi.ManagedConnectionMetaData
        Returns:
        This method always returns null. This method does nothing in the current implementation.
        Throws:
        javax.resource.ResourceException
      • getEISProductVersion

        public java.lang.String getEISProductVersion()
                                              throws javax.resource.ResourceException
        This method gets the enterprise information system product version.
        Specified by:
        getEISProductVersion in interface javax.resource.spi.ManagedConnectionMetaData
        Returns:
        This method always returns null. This method does nothing in the current implementation.
        Throws:
        javax.resource.ResourceException
      • getUserName

        public java.lang.String getUserName()
                                     throws javax.resource.ResourceException
        This method gets the user name.
        Specified by:
        getUserName in interface javax.resource.spi.ManagedConnectionMetaData
        Returns:
        This method always returns null. This method does nothing in the current implementation.
        Throws:
        javax.resource.ResourceException
      • getMaxConnections

        public int getMaxConnections()
                              throws javax.resource.ResourceException
        This method gets the maximum number of connections.
        Specified by:
        getMaxConnections in interface javax.resource.spi.ManagedConnectionMetaData
        Returns:
        This method always returns 1. The maximum number of connections.
        Throws:
        javax.resource.ResourceException