Package fish.payara.ejb.opentracing
Class OpenTracingIiopInterceptorFactory
- java.lang.Object
-
- fish.payara.ejb.opentracing.OpenTracingIiopInterceptorFactory
-
- All Implemented Interfaces:
IIOPInterceptorFactory
@Service(name="OpenTracingIiopInterceptorFactory") @Singleton public class OpenTracingIiopInterceptorFactory extends Object implements IIOPInterceptorFactory
Factory for creating IIOP client and server interceptors that propagate OpenTracing SpanContext.- Author:
- Andrew Pielage
-
-
Field Summary
Fields Modifier and Type Field Description static int
OPENTRACING_IIOP_ID
static long
OPENTRACING_IIOP_SERIAL_VERSION_UID
-
Constructor Summary
Constructors Constructor Description OpenTracingIiopInterceptorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.omg.PortableInterceptor.ClientRequestInterceptor
createClientRequestInterceptor(org.omg.PortableInterceptor.ORBInitInfo info, org.omg.IOP.Codec codec)
org.omg.PortableInterceptor.ServerRequestInterceptor
createServerRequestInterceptor(org.omg.PortableInterceptor.ORBInitInfo info, org.omg.IOP.Codec codec)
-
-
-
Field Detail
-
OPENTRACING_IIOP_ID
public static final int OPENTRACING_IIOP_ID
- See Also:
- Constant Field Values
-
OPENTRACING_IIOP_SERIAL_VERSION_UID
public static final long OPENTRACING_IIOP_SERIAL_VERSION_UID
- See Also:
- Constant Field Values
-
-
Method Detail
-
createClientRequestInterceptor
public org.omg.PortableInterceptor.ClientRequestInterceptor createClientRequestInterceptor(org.omg.PortableInterceptor.ORBInitInfo info, org.omg.IOP.Codec codec)
- Specified by:
createClientRequestInterceptor
in interfaceIIOPInterceptorFactory
-
createServerRequestInterceptor
public org.omg.PortableInterceptor.ServerRequestInterceptor createServerRequestInterceptor(org.omg.PortableInterceptor.ORBInitInfo info, org.omg.IOP.Codec codec)
- Specified by:
createServerRequestInterceptor
in interfaceIIOPInterceptorFactory
-
-