org.skyscreamer.nevado.jms
Class NevadoConnectionMetaData

java.lang.Object
  extended by org.skyscreamer.nevado.jms.NevadoConnectionMetaData
All Implemented Interfaces:
javax.jms.ConnectionMetaData

public class NevadoConnectionMetaData
extends Object
implements javax.jms.ConnectionMetaData

Nevado's implementation of ConnectionMetaData. Uses the manifest to populate provider-specific information. Version parsing logic borrowed from Andrew Kutz's net.sf.nvn.commons.Version, which is licensed under Apache 2.0.

Author:
Carter Page

Constructor Summary
NevadoConnectionMetaData()
           
 
Method Summary
static NevadoConnectionMetaData getInstance()
           
 int getJMSMajorVersion()
           
 int getJMSMinorVersion()
           
 String getJMSProviderName()
           
 String getJMSVersion()
           
 Enumeration getJMSXPropertyNames()
           
 int getProviderMajorVersion()
           
 int getProviderMinorVersion()
           
 String getProviderVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NevadoConnectionMetaData

public NevadoConnectionMetaData()
Method Detail

getInstance

public static NevadoConnectionMetaData getInstance()

getJMSVersion

public String getJMSVersion()
                     throws javax.jms.JMSException
Specified by:
getJMSVersion in interface javax.jms.ConnectionMetaData
Throws:
javax.jms.JMSException

getJMSMajorVersion

public int getJMSMajorVersion()
                       throws javax.jms.JMSException
Specified by:
getJMSMajorVersion in interface javax.jms.ConnectionMetaData
Throws:
javax.jms.JMSException

getJMSMinorVersion

public int getJMSMinorVersion()
                       throws javax.jms.JMSException
Specified by:
getJMSMinorVersion in interface javax.jms.ConnectionMetaData
Throws:
javax.jms.JMSException

getJMSProviderName

public String getJMSProviderName()
                          throws javax.jms.JMSException
Specified by:
getJMSProviderName in interface javax.jms.ConnectionMetaData
Throws:
javax.jms.JMSException

getProviderVersion

public String getProviderVersion()
                          throws javax.jms.JMSException
Specified by:
getProviderVersion in interface javax.jms.ConnectionMetaData
Throws:
javax.jms.JMSException

getProviderMajorVersion

public int getProviderMajorVersion()
                            throws javax.jms.JMSException
Specified by:
getProviderMajorVersion in interface javax.jms.ConnectionMetaData
Throws:
javax.jms.JMSException

getProviderMinorVersion

public int getProviderMinorVersion()
                            throws javax.jms.JMSException
Specified by:
getProviderMinorVersion in interface javax.jms.ConnectionMetaData
Throws:
javax.jms.JMSException

getJMSXPropertyNames

public Enumeration getJMSXPropertyNames()
                                 throws javax.jms.JMSException
Specified by:
getJMSXPropertyNames in interface javax.jms.ConnectionMetaData
Throws:
javax.jms.JMSException


Copyright © 2012. All Rights Reserved.