00001 //<<<<<< INCLUDES >>>>>> 00002 00003 #include "Iguana/WebFramework/interface/IgWebServiceProxy.h" 00004 #include "Iguana/WebFramework/interface/IgWebService.h" 00005 #include "Iguana/WebFramework/interface/IgWebServiceDB.h" 00006 #include <classlib/utils/DebugAids.h> 00007 00008 //<<<<<< PRIVATE DEFINES >>>>>> 00009 //<<<<<< PRIVATE CONSTANTS >>>>>> 00010 //<<<<<< PRIVATE TYPES >>>>>> 00011 //<<<<<< PRIVATE VARIABLE DEFINITIONS >>>>>> 00012 //<<<<<< PUBLIC VARIABLE DEFINITIONS >>>>>> 00013 //<<<<<< CLASS STRUCTURE INITIALIZATION >>>>>> 00014 //<<<<<< PRIVATE FUNCTION DEFINITIONS >>>>>> 00015 //<<<<<< PUBLIC FUNCTION DEFINITIONS >>>>>> 00016 //<<<<<< MEMBER FUNCTION DEFINITIONS >>>>>> 00017 00018 IgWebServiceProxy::IgWebServiceProxy (IgState *state, 00019 PluginInfo pluginInfo) 00020 : m_state (state), 00021 m_pluginInfo (pluginInfo), 00022 m_webService (0) 00023 { 00024 } 00025 00026 IgWebService * 00027 IgWebServiceProxy::webService (void) 00028 { 00029 if (! m_webService) 00030 { 00031 m_webService = m_pluginInfo->create (m_state); 00032 } 00033 00034 ASSERT (m_webService); 00035 return m_webService; 00036 }