org.jboss.messaging.ra
Class JBMMetaData

java.lang.Object
  extended by org.jboss.messaging.ra.JBMMetaData
All Implemented Interfaces:
javax.resource.spi.ManagedConnectionMetaData

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

Managed connection meta data

Version:
$Revision: $
Author:
Adrian Brock, Jesper Pedersen

Constructor Summary
JBMMetaData(JBMManagedConnection mc)
          Constructor
 
Method Summary
 java.lang.String getEISProductName()
          Get the EIS product name
 java.lang.String getEISProductVersion()
          Get the EIS product version
 int getMaxConnections()
          Get the maximum number of connections -- RETURNS 0
 java.lang.String getUserName()
          Get the user name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBMMetaData

public JBMMetaData(JBMManagedConnection mc)
Constructor

Parameters:
mc - The managed connection
Method Detail

getEISProductName

public java.lang.String getEISProductName()
                                   throws javax.resource.ResourceException
Get the EIS product name

Specified by:
getEISProductName in interface javax.resource.spi.ManagedConnectionMetaData
Returns:
The name
Throws:
javax.resource.ResourceException - Thrown if operation fails

getEISProductVersion

public java.lang.String getEISProductVersion()
                                      throws javax.resource.ResourceException
Get the EIS product version

Specified by:
getEISProductVersion in interface javax.resource.spi.ManagedConnectionMetaData
Returns:
The version
Throws:
javax.resource.ResourceException - Thrown if operation fails

getMaxConnections

public int getMaxConnections()
                      throws javax.resource.ResourceException
Get the maximum number of connections -- RETURNS 0

Specified by:
getMaxConnections in interface javax.resource.spi.ManagedConnectionMetaData
Returns:
The number
Throws:
javax.resource.ResourceException - Thrown if operation fails

getUserName

public java.lang.String getUserName()
                             throws javax.resource.ResourceException
Get the user name

Specified by:
getUserName in interface javax.resource.spi.ManagedConnectionMetaData
Returns:
The user name
Throws:
javax.resource.ResourceException - Thrown if operation fails


Copyright © 2006 JBoss Inc. All Rights Reserved.