Package org.apache.activemq.artemis.ra
Class ActiveMQRAMetaData
- java.lang.Object
-
- org.apache.activemq.artemis.ra.ActiveMQRAMetaData
-
- All Implemented Interfaces:
jakarta.resource.spi.ManagedConnectionMetaData
public class ActiveMQRAMetaData extends Object implements jakarta.resource.spi.ManagedConnectionMetaData
Managed 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 StringgetEISProductName()Get the EIS product nameStringgetEISProductVersion()Get the EIS product versionintgetMaxConnections()Get the maximum number of connections -- RETURNS 0StringgetUserName()Get the user name
-
-
-
Constructor Detail
-
ActiveMQRAMetaData
public ActiveMQRAMetaData(ActiveMQRAManagedConnection mc)
Constructor- Parameters:
mc- The managed connection
-
-
Method Detail
-
getEISProductName
public String getEISProductName() throws jakarta.resource.ResourceException
Get the EIS product name- Specified by:
getEISProductNamein interfacejakarta.resource.spi.ManagedConnectionMetaData- Returns:
- The name
- Throws:
jakarta.resource.ResourceException- Thrown if operation fails
-
getEISProductVersion
public String getEISProductVersion() throws jakarta.resource.ResourceException
Get the EIS product version- Specified by:
getEISProductVersionin interfacejakarta.resource.spi.ManagedConnectionMetaData- Returns:
- The version
- Throws:
jakarta.resource.ResourceException- Thrown if operation fails
-
getUserName
public String getUserName() throws jakarta.resource.ResourceException
Get the user name- Specified by:
getUserNamein interfacejakarta.resource.spi.ManagedConnectionMetaData- Returns:
- The user name
- Throws:
jakarta.resource.ResourceException- Thrown if operation fails
-
getMaxConnections
public int getMaxConnections() throws jakarta.resource.ResourceExceptionGet the maximum number of connections -- RETURNS 0- Specified by:
getMaxConnectionsin interfacejakarta.resource.spi.ManagedConnectionMetaData- Returns:
- The number
- Throws:
jakarta.resource.ResourceException- Thrown if operation fails
-
-