Class JmsTracerFactory

    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      static JmsTracer create​(java.net.URI remoteURI, java.lang.String name)
      Creates a JmsTracer using factory with the given name and any relevant configuration properties set on the given remote URI.
      abstract JmsTracer createTracer​(java.net.URI remoteURI, java.lang.String name)  
      static JmsTracerFactory findTracerFactory​(java.lang.String name)
      Searches for a JmsTracerFactory by using the given name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JmsTracerFactory

        public JmsTracerFactory()
    • Method Detail

      • createTracer

        public abstract JmsTracer createTracer​(java.net.URI remoteURI,
                                               java.lang.String name)
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • create

        public static JmsTracer create​(java.net.URI remoteURI,
                                       java.lang.String name)
                                throws java.lang.Exception
        Creates a JmsTracer using factory with the given name and any relevant configuration properties set on the given remote URI.
        Parameters:
        remoteURI - The connection uri.
        name - The name that describes the desired tracer factory.
        Returns:
        a tracer instance matching the name.
        Throws:
        java.lang.Exception - if an error occurs while creating the tracer.
      • findTracerFactory

        public static JmsTracerFactory findTracerFactory​(java.lang.String name)
                                                  throws java.io.IOException
        Searches for a JmsTracerFactory by using the given name. The search first checks the local cache of factories before moving on to search in the class path.
        Parameters:
        name - The name that describes the desired tracer factory.
        Returns:
        a tracer factory instance matching the name.
        Throws:
        java.io.IOException - if an error occurs while locating the factory.