org.jboss.jms.client
Class JBossConnectionMetaData

java.lang.Object
  extended byorg.jboss.jms.client.JBossConnectionMetaData
All Implemented Interfaces:
ConnectionMetaData (src)

public class JBossConnectionMetaData
extends java.lang.Object
implements ConnectionMetaData (src)

Connection metadata


Constructor Summary
JBossConnectionMetaData(ConnectionDelegate (src)  connection)
          Create a new metadata object
 
Method Summary
 ConnectionDelegate (src) getConnection()
          Get the connection for this meta data
 int getJMSMajorVersion()
          Gets the JMS major version number.
 int getJMSMinorVersion()
          Gets the JMS minor version number.
 java.lang.String getJMSProviderName()
          Gets the JMS provider name.
 java.lang.String getJMSVersion()
          Gets the JMS API version.
 java.util.Enumeration getJMSXPropertyNames()
          Gets an enumeration of the JMSX property names.
 int getProviderMajorVersion()
          Gets the JMS provider major version number.
 int getProviderMinorVersion()
          Gets the JMS provider minor version number.
 java.lang.String getProviderVersion()
          Gets the JMS provider version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossConnectionMetaData

public JBossConnectionMetaData(ConnectionDelegate (src)  connection)
                        throws JMSException (src) 
Create a new metadata object

Parameters:
connection - the connection for this meta data
Method Detail

getConnection

public ConnectionDelegate (src)  getConnection()
                                 throws JMSException (src) 
Get the connection for this meta data

Returns:
the connection
Throws:
JMSException (src) - for any error

getJMSMajorVersion

public int getJMSMajorVersion()
                       throws JMSException (src) 
Description copied from interface: ConnectionMetaData (src)
Gets the JMS major version number.

Specified by:
getJMSMajorVersion in interface ConnectionMetaData (src)
Returns:
the JMS API major version number
Throws:
JMSException (src) - if the JMS provider fails to retrieve the metadata due to some internal error.

getJMSMinorVersion

public int getJMSMinorVersion()
                       throws JMSException (src) 
Description copied from interface: ConnectionMetaData (src)
Gets the JMS minor version number.

Specified by:
getJMSMinorVersion in interface ConnectionMetaData (src)
Returns:
the JMS API minor version number
Throws:
JMSException (src) - if the JMS provider fails to retrieve the metadata due to some internal error.

getJMSProviderName

public java.lang.String getJMSProviderName()
                                    throws JMSException (src) 
Description copied from interface: ConnectionMetaData (src)
Gets the JMS provider name.

Specified by:
getJMSProviderName in interface ConnectionMetaData (src)
Returns:
the JMS provider name
Throws:
JMSException (src) - if the JMS provider fails to retrieve the metadata due to some internal error.

getJMSVersion

public java.lang.String getJMSVersion()
                               throws JMSException (src) 
Description copied from interface: ConnectionMetaData (src)
Gets the JMS API version.

Specified by:
getJMSVersion in interface ConnectionMetaData (src)
Returns:
the JMS API version
Throws:
JMSException (src) - if the JMS provider fails to retrieve the metadata due to some internal error.

getJMSXPropertyNames

public java.util.Enumeration getJMSXPropertyNames()
                                           throws JMSException (src) 
Description copied from interface: ConnectionMetaData (src)
Gets an enumeration of the JMSX property names.

Specified by:
getJMSXPropertyNames in interface ConnectionMetaData (src)
Returns:
an Enumeration of JMSX property names
Throws:
JMSException (src) - if the JMS provider fails to retrieve the metadata due to some internal error.

getProviderMajorVersion

public int getProviderMajorVersion()
                            throws JMSException (src) 
Description copied from interface: ConnectionMetaData (src)
Gets the JMS provider major version number.

Specified by:
getProviderMajorVersion in interface ConnectionMetaData (src)
Returns:
the JMS provider major version number
Throws:
JMSException (src) - if the JMS provider fails to retrieve the metadata due to some internal error.

getProviderMinorVersion

public int getProviderMinorVersion()
                            throws JMSException (src) 
Description copied from interface: ConnectionMetaData (src)
Gets the JMS provider minor version number.

Specified by:
getProviderMinorVersion in interface ConnectionMetaData (src)
Returns:
the JMS provider minor version number
Throws:
JMSException (src) - if the JMS provider fails to retrieve the metadata due to some internal error.

getProviderVersion

public java.lang.String getProviderVersion()
                                    throws JMSException (src) 
Description copied from interface: ConnectionMetaData (src)
Gets the JMS provider version.

Specified by:
getProviderVersion in interface ConnectionMetaData (src)
Returns:
the JMS provider version
Throws:
JMSException (src) - if the JMS provider fails to retrieve the metadata due to some internal error.