Package org.apache.activemq.artemis.ra
Class ActiveMQRAMetaData
- java.lang.Object
-
- org.apache.activemq.artemis.ra.ActiveMQRAMetaData
-
- All Implemented Interfaces:
javax.resource.spi.ManagedConnectionMetaData
public class ActiveMQRAMetaData extends java.lang.Object implements javax.resource.spi.ManagedConnectionMetaDataManaged connection meta data
-
-
Constructor Summary
Constructors Constructor Description ActiveMQRAMetaData(ActiveMQRAManagedConnection mc)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetEISProductName()Get the EIS product namejava.lang.StringgetEISProductVersion()Get the EIS product versionintgetMaxConnections()Get the maximum number of connections -- RETURNS 0java.lang.StringgetUserName()Get the user name
-
-
-
Constructor Detail
-
ActiveMQRAMetaData
public ActiveMQRAMetaData(ActiveMQRAManagedConnection mc)
Constructor- Parameters:
mc- The managed connection
-
-
Method Detail
-
getEISProductName
public java.lang.String getEISProductName() throws javax.resource.ResourceExceptionGet the EIS product name- Specified by:
getEISProductNamein interfacejavax.resource.spi.ManagedConnectionMetaData- Returns:
- The name
- Throws:
javax.resource.ResourceException- Thrown if operation fails
-
getEISProductVersion
public java.lang.String getEISProductVersion() throws javax.resource.ResourceExceptionGet the EIS product version- Specified by:
getEISProductVersionin interfacejavax.resource.spi.ManagedConnectionMetaData- Returns:
- The version
- Throws:
javax.resource.ResourceException- Thrown if operation fails
-
getUserName
public java.lang.String getUserName() throws javax.resource.ResourceExceptionGet the user name- Specified by:
getUserNamein interfacejavax.resource.spi.ManagedConnectionMetaData- Returns:
- The user name
- Throws:
javax.resource.ResourceException- Thrown if operation fails
-
getMaxConnections
public int getMaxConnections() throws javax.resource.ResourceExceptionGet the maximum number of connections -- RETURNS 0- Specified by:
getMaxConnectionsin interfacejavax.resource.spi.ManagedConnectionMetaData- Returns:
- The number
- Throws:
javax.resource.ResourceException- Thrown if operation fails
-
-