OW_ServiceEnvironmentIFC.cpp

Go to the documentation of this file.
00001 /*******************************************************************************
00002 * Copyright (C) 2003-2004 Vintela, Inc. All rights reserved.
00003 *
00004 * Redistribution and use in source and binary forms, with or without
00005 * modification, are permitted provided that the following conditions are met:
00006 *
00007 *  - Redistributions of source code must retain the above copyright notice,
00008 *    this list of conditions and the following disclaimer.
00009 *
00010 *  - Redistributions in binary form must reproduce the above copyright notice,
00011 *    this list of conditions and the following disclaimer in the documentation
00012 *    and/or other materials provided with the distribution.
00013 *
00014 *  - Neither the name of Vintela, Inc. nor the names of its
00015 *    contributors may be used to endorse or promote products derived from this
00016 *    software without specific prior written permission.
00017 *
00018 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
00019 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00020 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00021 * ARE DISCLAIMED. IN NO EVENT SHALL Vintela, Inc. OR THE CONTRIBUTORS
00022 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
00023 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
00024 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
00025 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
00026 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
00027 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
00028 * POSSIBILITY OF SUCH DAMAGE.
00029 *******************************************************************************/
00030 
00035 #include "OW_config.h"
00036 #include "OW_ServiceEnvironmentIFC.hpp"
00037 #include "OW_Assertion.hpp"
00038 #include "OW_CIMOMHandleIFC.hpp"
00039 #include "OW_RepositoryIFC.hpp"
00040 #include "OW_CIMInstance.hpp"
00041 #include "OW_Array.hpp"
00042 #include "OW_Logger.hpp"
00043 #include "OW_RequestHandlerIFC.hpp"
00044 #include "OW_WQLIFC.hpp"
00045 
00046 namespace OW_NAMESPACE
00047 {
00048 
00050 ServiceEnvironmentIFC::~ServiceEnvironmentIFC()
00051 {
00052 }
00053 
00055 RepositoryIFCRef
00056 ServiceEnvironmentIFC::getRepository() const
00057 {
00058    OW_ASSERTMSG(0, "getRepository Not Implemented");
00059    return RepositoryIFCRef();
00060 }
00061 
00063 CIMOMHandleIFCRef
00064 ServiceEnvironmentIFC::getRepositoryCIMOMHandle(OperationContext& context) const
00065 {
00066    return getCIMOMHandle(context, E_BYPASS_PROVIDERS);
00067 }
00068 
00070 void
00071 ServiceEnvironmentIFC::addSelectable(const SelectableIFCRef& obj, const SelectableCallbackIFCRef& cb)
00072 {
00073    OW_ASSERTMSG(0, "addSelectable Not Implemented");
00074 }
00075 
00077 void
00078 ServiceEnvironmentIFC::removeSelectable(const SelectableIFCRef& obj)
00079 {
00080    OW_ASSERTMSG(0, "removeSelectable Not Implemented");
00081 }
00082 
00084 String
00085 ServiceEnvironmentIFC::getConfigItem(const String& name, const String& defRetVal) const
00086 {
00087    return defRetVal;
00088 }
00089 
00091 StringArray
00092 ServiceEnvironmentIFC::getMultiConfigItem(const String &itemName, 
00093    const StringArray& defRetVal, const char* tokenizeSeparator) const
00094 {
00095    return defRetVal;
00096 }
00098 void
00099 ServiceEnvironmentIFC::setConfigItem(const String& item, const String& value, EOverwritePreviousFlag overwritePrevious)
00100 {
00101    OW_ASSERTMSG(0, "setConfigItem Not Implemented");
00102 }
00103 
00105 RequestHandlerIFCRef
00106 ServiceEnvironmentIFC::getRequestHandler(const String& id) const
00107 {
00108    OW_ASSERTMSG(0, "getRequestHandler Not Implemented");
00109    return RequestHandlerIFCRef();
00110 }
00111 
00113 LoggerRef
00114 ServiceEnvironmentIFC::getLogger() const
00115 {
00116    OW_ASSERTMSG(0, "getLogger Not Implemented");
00117    return LoggerRef();
00118 }
00119 
00121 LoggerRef
00122 ServiceEnvironmentIFC::getLogger(const String& componentName) const
00123 {
00124    OW_ASSERTMSG(0, "getLogger(const String& componentName) Not Implemented");
00125    return LoggerRef();
00126 }
00127 
00129 bool
00130 ServiceEnvironmentIFC::authenticate(String& userName, const String& info, String& details, OperationContext& context) const
00131 {
00132    OW_ASSERTMSG(0, "authenticate Not Implemented");
00133    return true;
00134 }
00135 
00137 CIMOMHandleIFCRef
00138 ServiceEnvironmentIFC::getCIMOMHandle(OperationContext& context,
00139    EBypassProvidersFlag bypassProviders,
00140    ELockingFlag locking) const
00141 {
00142    OW_ASSERTMSG(0, "getCIMOMHandle Not Implemented");
00143    return CIMOMHandleIFCRef();
00144 }
00145 
00146 
00148 WQLIFCRef
00149 ServiceEnvironmentIFC::getWQLRef() const
00150 {
00151    OW_ASSERTMSG(0, "getWQLRef Not Implemented");
00152    return WQLIFCRef();
00153 }
00154 
00155 } // end namespace OW_NAMESPACE
00156 

Generated on Thu Feb 9 08:48:10 2006 for openwbem by  doxygen 1.4.6