axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From whitl...@apache.org
Subject cvs commit: ws-axis/c/tools/org/apache/axis/tools/trace tracetool.conf
Date Wed, 12 Jan 2005 14:27:52 GMT
whitlock    2005/01/12 06:27:52

  Modified:    c/src/transport/axis3 ChannelFactory.cpp
                        HTTPTransportInstantiator.cpp
               c/src/transport/axis3/HTTPChannel
                        HTTPChannelInstantiator.cpp
               c/src/transport/axis3/HTTPSSLChannel
                        HTTPSSLChannelInstantiator.cpp
               c/tools/org/apache/axis/tools/trace tracetool.conf
  Log:
  Enable Axis3Transport for trace
  
  Revision  Changes    Path
  1.2       +10 -0     ws-axis/c/src/transport/axis3/ChannelFactory.cpp
  
  Index: ChannelFactory.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/transport/axis3/ChannelFactory.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ChannelFactory.cpp	6 Jan 2005 17:33:15 -0000	1.1
  +++ ChannelFactory.cpp	12 Jan 2005 14:27:50 -0000	1.2
  @@ -27,6 +27,7 @@
   #include "ChannelFactory.hpp"
   #include <stdio.h>
   #include "HTTPTransportException.hpp"
  +#include "../common/AxisTrace.h"
   
   AXIS_CPP_NAMESPACE_START
   
  @@ -98,6 +99,15 @@
   
               throw HTTPTransportException( SERVER_TRANSPORT_LOADING_CHANNEL_FAILED, pszErrorInfo);
           }
  +
  +            // Load function to do lib level inits
  +            void (*initializeLibrary) (AxisTraceEntrypoints&);
  +            initializeLibrary = (void (*)(AxisTraceEntrypoints&))PLATFORM_GETPROCADDR(m_LibHandler,
"initializeLibrary");
  +
  +            AxisTraceEntrypoints ep;
  +            AxisTrace::getTraceEntrypoints(ep);
  +            if (initializeLibrary)
  +                 (*initializeLibrary)(ep);
   
   		m_pLibName[m_iLibCount] = new char[ strlen( pcLibraryName) + 1];
   
  
  
  
  1.2       +6 -4      ws-axis/c/src/transport/axis3/HTTPTransportInstantiator.cpp
  
  Index: HTTPTransportInstantiator.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/transport/axis3/HTTPTransportInstantiator.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- HTTPTransportInstantiator.cpp	6 Jan 2005 17:33:15 -0000	1.1
  +++ HTTPTransportInstantiator.cpp	12 Jan 2005 14:27:50 -0000	1.2
  @@ -19,6 +19,9 @@
    *
    */
   
  +#define AXISTRACE_LIBRARY
  +#define AXISTRACE_LIBRARY_MAINENTRYPOINT
  +#include "../../common/AxisTrace.h"
   
   #ifdef WIN32
   #pragma warning (disable : 4786)
  @@ -53,11 +56,11 @@
           }
           return AXIS_FAIL;
       }
  -/*
  -    //  initializeLibrary() Is a C interface.
  -    STORAGE_CLASS_INFO void initializeLibrary (void)
  +
  +    STORAGE_CLASS_INFO void initializeLibrary (AxisTraceEntrypoints& ep)
       {
           // Do init actions
  +        AxisTrace::setTraceEntrypoints(ep);
       }
   
       //  uninitializeLibrary() Is a C interface.
  @@ -65,6 +68,5 @@
       {
           // Do uninit actions
       }
  -*/
   }
   
  
  
  
  1.2       +19 -0     ws-axis/c/src/transport/axis3/HTTPChannel/HTTPChannelInstantiator.cpp
  
  Index: HTTPChannelInstantiator.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/transport/axis3/HTTPChannel/HTTPChannelInstantiator.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- HTTPChannelInstantiator.cpp	6 Jan 2005 17:33:15 -0000	1.1
  +++ HTTPChannelInstantiator.cpp	12 Jan 2005 14:27:51 -0000	1.2
  @@ -19,6 +19,10 @@
    *
    */
   
  +#define AXISTRACE_LIBRARY
  +#define AXISTRACE_LIBRARY_MAINENTRYPOINT
  +#include "../../common/AxisTrace.h"
  +
   #ifdef WIN32
   #pragma warning( disable : 4786)
   #pragma warning( disable : 4101)
  @@ -58,6 +62,21 @@
           }
   
           return iSuccess;
  +    }
  +
  +    /*  initializeLibrary() Is a C interface.
  +     */
  +    STORAGE_CLASS_INFO void initializeLibrary (AxisTraceEntrypoints& ep)
  +    {
  +        // Do init actions
  +        AxisTrace::setTraceEntrypoints(ep);
  +    }
  +
  +    /*  uninitializeLibrary() Is a C interface.
  +     */
  +    STORAGE_CLASS_INFO void uninitializeLibrary (void)
  +    {
  +        // Do uninit actions
       }
   }
   
  
  
  
  1.2       +19 -0     ws-axis/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannelInstantiator.cpp
  
  Index: HTTPSSLChannelInstantiator.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/transport/axis3/HTTPSSLChannel/HTTPSSLChannelInstantiator.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- HTTPSSLChannelInstantiator.cpp	6 Jan 2005 17:33:15 -0000	1.1
  +++ HTTPSSLChannelInstantiator.cpp	12 Jan 2005 14:27:51 -0000	1.2
  @@ -19,6 +19,10 @@
    *
    */
   
  +#define AXISTRACE_LIBRARY
  +#define AXISTRACE_LIBRARY_MAINENTRYPOINT
  +#include "../../common/AxisTrace.h"
  +
   #ifdef WIN32
   #pragma warning( disable : 4786)
   #pragma warning( disable : 4101)
  @@ -58,6 +62,21 @@
           }
   
           return iSuccess;
  +    }
  +
  +    /*  initializeLibrary() Is a C interface.
  +     */
  +    STORAGE_CLASS_INFO void initializeLibrary (AxisTraceEntrypoints& ep)
  +    {
  +        // Do init actions
  +        AxisTrace::setTraceEntrypoints(ep);
  +    }
  +
  +    /*  uninitializeLibrary() Is a C interface.
  +     */
  +    STORAGE_CLASS_INFO void uninitializeLibrary (void)
  +    {
  +        // Do uninit actions
       }
   }
   
  
  
  
  1.5       +3 -0      ws-axis/c/tools/org/apache/axis/tools/trace/tracetool.conf
  
  Index: tracetool.conf
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/tools/org/apache/axis/tools/trace/tracetool.conf,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- tracetool.conf	11 Jan 2005 17:01:47 -0000	1.4
  +++ tracetool.conf	12 Jan 2005 14:27:51 -0000	1.5
  @@ -47,6 +47,9 @@
   excludefile=AxisTrace.h
   excludefile=AxisFile.h
   excludefile=Axis2TransportInstantiator.cpp
  +excludefile=HTTPTransportInstantiator.cpp
  +excludefile=HTTPChannelInstantiator.cpp
  +excludefile=HTTPSSLChannelInstantiator.cpp
   #
   define=AXIS_CPP_NAMESPACE_START
   define=AXIS_CPP_NAMESPACE_END
  
  
  

Mime
View raw message