java.lang.Object
io.helidon.messaging.connectors.jms.shim.JakartaJms

public final class JakartaJms extends Object
Main shim entry point, allows wrapping javax types to jakarta types.
  • Method Summary

    Modifier and Type
    Method
    Description
    static jakarta.jms.BytesMessage
    create(javax.jms.BytesMessage delegate)
    Create a jakarta wrapper for the provided javax instance.
    static jakarta.jms.CompletionListener
    create(javax.jms.CompletionListener delegate)
    Create a jakarta wrapper for the provided javax instance.
    static jakarta.jms.Connection
    create(javax.jms.Connection delegate)
    Create a jakarta wrapper for the provided javax instance.
    static jakarta.jms.ConnectionConsumer
    create(javax.jms.ConnectionConsumer delegate)
    Create a jakarta wrapper for the provided javax instance.
    static jakarta.jms.ConnectionFactory
    create(javax.jms.ConnectionFactory delegate)
    Create a jakarta wrapper for the provided javax instance.
    static jakarta.jms.ConnectionMetaData
    create(javax.jms.ConnectionMetaData delegate)
    Create a jakarta wrapper for the provided javax instance.
    static jakarta.jms.Destination
    create(javax.jms.Destination delegate)
    Create a jakarta wrapper for the provided javax instance.
    static jakarta.jms.ExceptionListener
    create(javax.jms.ExceptionListener delegate)
    Create a jakarta wrapper for the provided javax instance.
    static jakarta.jms.JMSConsumer
    create(javax.jms.JMSConsumer delegate)
    Create a jakarta wrapper for the provided javax instance.
    static jakarta.jms.JMSContext
    create(javax.jms.JMSContext delegate)
    Create a jakarta wrapper for the provided javax instance.
    static jakarta.jms.JMSProducer
    create(javax.jms.JMSProducer delegate)
    Create a jakarta wrapper for the provided javax instance.
    static jakarta.jms.MapMessage
    create(javax.jms.MapMessage delegate)
    Create a jakarta wrapper for the provided javax instance.
    static jakarta.jms.Message
    create(javax.jms.Message delegate)
    Create a jakarta wrapper for the provided javax instance.
    static jakarta.jms.MessageConsumer
    create(javax.jms.MessageConsumer delegate)
    Create a jakarta wrapper for the provided javax instance.
    static jakarta.jms.MessageListener
    create(javax.jms.MessageListener delegate)
    Create a jakarta wrapper for the provided javax instance.
    static jakarta.jms.MessageProducer
    create(javax.jms.MessageProducer delegate)
    Create a jakarta wrapper for the provided javax instance.
    static jakarta.jms.ObjectMessage
    create(javax.jms.ObjectMessage delegate)
    Create a jakarta wrapper for the provided javax instance.
    static jakarta.jms.Queue
    create(javax.jms.Queue delegate)
    Create a jakarta wrapper for the provided javax instance.
    static jakarta.jms.QueueBrowser
    create(javax.jms.QueueBrowser delegate)
    Create a jakarta wrapper for the provided javax instance.
    static jakarta.jms.ServerSession
    create(javax.jms.ServerSession delegate)
    Create a jakarta wrapper for the provided javax instance.
    static jakarta.jms.ServerSessionPool
    create(javax.jms.ServerSessionPool delegate)
    Create a jakarta wrapper for the provided javax instance.
    static jakarta.jms.Session
    create(javax.jms.Session delegate)
    Create a jakarta wrapper for the provided javax instance.
    static jakarta.jms.StreamMessage
    create(javax.jms.StreamMessage delegate)
    Create a jakarta wrapper for the provided javax instance.
    static jakarta.jms.TemporaryQueue
    create(javax.jms.TemporaryQueue delegate)
    Create a jakarta wrapper for the provided javax instance.
    static jakarta.jms.TemporaryTopic
    create(javax.jms.TemporaryTopic delegate)
    Create a jakarta wrapper for the provided javax instance.
    static jakarta.jms.TextMessage
    create(javax.jms.TextMessage delegate)
    Create a jakarta wrapper for the provided javax instance.
    static jakarta.jms.Topic
    create(javax.jms.Topic delegate)
    Create a jakarta wrapper for the provided javax instance.
    static jakarta.jms.TopicSubscriber
    create(javax.jms.TopicSubscriber delegate)
    Create a jakarta wrapper for the provided javax instance.
    static <T> T
    resolve(Object obj, Class<T> expectedType)
    Convenience method for shimming various javax JMS classes.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • create

      public static jakarta.jms.BytesMessage create(javax.jms.BytesMessage delegate)
      Create a jakarta wrapper for the provided javax instance.
      Parameters:
      delegate - javax namespace instance
      Returns:
      shimmed jakarta namespace instance
    • create

      public static jakarta.jms.CompletionListener create(javax.jms.CompletionListener delegate)
      Create a jakarta wrapper for the provided javax instance.
      Parameters:
      delegate - javax namespace instance
      Returns:
      shimmed jakarta namespace instance
    • create

      public static jakarta.jms.Connection create(javax.jms.Connection delegate)
      Create a jakarta wrapper for the provided javax instance.
      Parameters:
      delegate - javax namespace instance
      Returns:
      shimmed jakarta namespace instance
    • create

      public static jakarta.jms.ConnectionConsumer create(javax.jms.ConnectionConsumer delegate)
      Create a jakarta wrapper for the provided javax instance.
      Parameters:
      delegate - javax namespace instance
      Returns:
      shimmed jakarta namespace instance
    • create

      public static jakarta.jms.ConnectionFactory create(javax.jms.ConnectionFactory delegate)
      Create a jakarta wrapper for the provided javax instance.
      Parameters:
      delegate - javax namespace instance
      Returns:
      shimmed jakarta namespace instance
    • create

      public static jakarta.jms.ConnectionMetaData create(javax.jms.ConnectionMetaData delegate)
      Create a jakarta wrapper for the provided javax instance.
      Parameters:
      delegate - javax namespace instance
      Returns:
      shimmed jakarta namespace instance
    • create

      public static jakarta.jms.JMSConsumer create(javax.jms.JMSConsumer delegate)
      Create a jakarta wrapper for the provided javax instance.
      Parameters:
      delegate - javax namespace instance
      Returns:
      shimmed jakarta namespace instance
    • create

      public static jakarta.jms.JMSContext create(javax.jms.JMSContext delegate)
      Create a jakarta wrapper for the provided javax instance.
      Parameters:
      delegate - javax namespace instance
      Returns:
      shimmed jakarta namespace instance
    • create

      public static jakarta.jms.Destination create(javax.jms.Destination delegate)
      Create a jakarta wrapper for the provided javax instance.
      Parameters:
      delegate - javax namespace instance
      Returns:
      shimmed jakarta namespace instance
    • create

      public static jakarta.jms.ExceptionListener create(javax.jms.ExceptionListener delegate)
      Create a jakarta wrapper for the provided javax instance.
      Parameters:
      delegate - javax namespace instance
      Returns:
      shimmed jakarta namespace instance
    • create

      public static jakarta.jms.MapMessage create(javax.jms.MapMessage delegate)
      Create a jakarta wrapper for the provided javax instance.
      Parameters:
      delegate - javax namespace instance
      Returns:
      shimmed jakarta namespace instance
    • resolve

      public static <T> T resolve(Object obj, Class<T> expectedType)
      Convenience method for shimming various javax JMS classes.
      Type Parameters:
      T - expected type to shim to
      Parameters:
      obj - to be shimmed or just typed
      expectedType - expected type to shim to
      Returns:
      typed or shimmed object
    • create

      public static jakarta.jms.Message create(javax.jms.Message delegate)
      Create a jakarta wrapper for the provided javax instance.
      Parameters:
      delegate - javax namespace instance
      Returns:
      shimmed jakarta namespace instance
    • create

      public static jakarta.jms.MessageConsumer create(javax.jms.MessageConsumer delegate)
      Create a jakarta wrapper for the provided javax instance.
      Parameters:
      delegate - javax namespace instance
      Returns:
      shimmed jakarta namespace instance
    • create

      public static jakarta.jms.MessageListener create(javax.jms.MessageListener delegate)
      Create a jakarta wrapper for the provided javax instance.
      Parameters:
      delegate - javax namespace instance
      Returns:
      shimmed jakarta namespace instance
    • create

      public static jakarta.jms.MessageProducer create(javax.jms.MessageProducer delegate)
      Create a jakarta wrapper for the provided javax instance.
      Parameters:
      delegate - javax namespace instance
      Returns:
      shimmed jakarta namespace instance
    • create

      public static jakarta.jms.ObjectMessage create(javax.jms.ObjectMessage delegate)
      Create a jakarta wrapper for the provided javax instance.
      Parameters:
      delegate - javax namespace instance
      Returns:
      shimmed jakarta namespace instance
    • create

      public static jakarta.jms.JMSProducer create(javax.jms.JMSProducer delegate)
      Create a jakarta wrapper for the provided javax instance.
      Parameters:
      delegate - javax namespace instance
      Returns:
      shimmed jakarta namespace instance
    • create

      public static jakarta.jms.Queue create(javax.jms.Queue delegate)
      Create a jakarta wrapper for the provided javax instance.
      Parameters:
      delegate - javax namespace instance
      Returns:
      shimmed jakarta namespace instance
    • create

      public static jakarta.jms.QueueBrowser create(javax.jms.QueueBrowser delegate)
      Create a jakarta wrapper for the provided javax instance.
      Parameters:
      delegate - javax namespace instance
      Returns:
      shimmed jakarta namespace instance
    • create

      public static jakarta.jms.Session create(javax.jms.Session delegate)
      Create a jakarta wrapper for the provided javax instance.
      Parameters:
      delegate - javax namespace instance
      Returns:
      shimmed jakarta namespace instance
    • create

      public static jakarta.jms.ServerSessionPool create(javax.jms.ServerSessionPool delegate)
      Create a jakarta wrapper for the provided javax instance.
      Parameters:
      delegate - javax namespace instance
      Returns:
      shimmed jakarta namespace instance
    • create

      public static jakarta.jms.ServerSession create(javax.jms.ServerSession delegate)
      Create a jakarta wrapper for the provided javax instance.
      Parameters:
      delegate - javax namespace instance
      Returns:
      shimmed jakarta namespace instance
    • create

      public static jakarta.jms.StreamMessage create(javax.jms.StreamMessage delegate)
      Create a jakarta wrapper for the provided javax instance.
      Parameters:
      delegate - javax namespace instance
      Returns:
      shimmed jakarta namespace instance
    • create

      public static jakarta.jms.TemporaryQueue create(javax.jms.TemporaryQueue delegate)
      Create a jakarta wrapper for the provided javax instance.
      Parameters:
      delegate - javax namespace instance
      Returns:
      shimmed jakarta namespace instance
    • create

      public static jakarta.jms.TemporaryTopic create(javax.jms.TemporaryTopic delegate)
      Create a jakarta wrapper for the provided javax instance.
      Parameters:
      delegate - javax namespace instance
      Returns:
      shimmed jakarta namespace instance
    • create

      public static jakarta.jms.TextMessage create(javax.jms.TextMessage delegate)
      Create a jakarta wrapper for the provided javax instance.
      Parameters:
      delegate - javax namespace instance
      Returns:
      shimmed jakarta namespace instance
    • create

      public static jakarta.jms.Topic create(javax.jms.Topic delegate)
      Create a jakarta wrapper for the provided javax instance.
      Parameters:
      delegate - javax namespace instance
      Returns:
      shimmed jakarta namespace instance
    • create

      public static jakarta.jms.TopicSubscriber create(javax.jms.TopicSubscriber delegate)
      Create a jakarta wrapper for the provided javax instance.
      Parameters:
      delegate - javax namespace instance
      Returns:
      shimmed jakarta namespace instance