version 1.2, 2004/10/17 20:40:04
|
version 1.8, 2008/01/30 12:06:31
|
|
|
//%2004//////////////////////////////////////////////////////////////////////// |
//%2006//////////////////////////////////////////////////////////////////////// |
// | // |
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development | // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development |
// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. | // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. |
|
|
// IBM Corp.; EMC Corporation, The Open Group. | // IBM Corp.; EMC Corporation, The Open Group. |
// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; | // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; |
// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. | // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; VERITAS Software Corporation; The Open Group. |
|
// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.; |
|
// EMC Corporation; Symantec Corporation; The Open Group. |
// | // |
// Permission is hereby granted, free of charge, to any person obtaining a copy | // Permission is hereby granted, free of charge, to any person obtaining a copy |
// of this software and associated documentation files (the "Software"), to | // of this software and associated documentation files (the "Software"), to |
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Chip Vincent (cvincent@us.ibm.com) |
|
// |
|
// Modified By: Yi Zhou, Hewlett-Packard Company(yi_zhou@hp.com) |
|
// Mike Day, IBM (mdday@us.ibm.com) |
|
// Adrian Schuur, IBM (schuur@de.ibm.com) |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#ifndef Pegasus_JMPIProviderModule_h | #ifndef Pegasus_JMPIProviderModule_h |
#define Pegasus_JMPIProviderModule_h | #define Pegasus_JMPIProviderModule_h |
| |
#include "JMPIImpl.h" |
|
|
|
#include <Pegasus/Common/Config.h> | #include <Pegasus/Common/Config.h> |
#include <Pegasus/Common/String.h> | #include <Pegasus/Common/String.h> |
#include <Pegasus/Common/System.h> | #include <Pegasus/Common/System.h> |
#include <Pegasus/Common/IPC.h> |
|
| |
#include <Pegasus/Provider/CIMProvider.h> | #include <Pegasus/Provider/CIMProvider.h> |
#include <Pegasus/ProviderManager2/JMPI/JMPIProvider.h> | #include <Pegasus/ProviderManager2/JMPI/JMPIProvider.h> |
|
#include <Pegasus/ProviderManager2/JMPI/JMPIImpl.h> |
| |
#include <Pegasus/Server/Linkage.h> | #include <Pegasus/Server/Linkage.h> |
|
#include <Pegasus/ProviderManager2/JMPI/Linkage.h> |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
// The JMPIProviderModule class represents the physical module, as defined by the |
// The JMPIProviderModule class represents the physical module, as defined by |
// operation, that contains a provider. This class effectively encapsulates the |
// the operation, that contains a provider. This class effectively encapsulates |
// "physical" portion of a provider. |
// the "physical" portion of a provider. |
| |
| |
class PEGASUS_SERVER_LINKAGE JMPIProviderModule |
class PEGASUS_JMPIPM_LINKAGE JMPIProviderModule |
{ | { |
| |
friend class JMPILocalProviderManager; | friend class JMPILocalProviderManager; |
|
|
String _fileName; | String _fileName; |
String _className; | String _className; |
String _interfaceName; | String _interfaceName; |
AtomicInt _ref_count; |
|
DynamicLibraryHandle _library; |
|
Uint32 _refCount; |
|
void *jProviderClass; | void *jProviderClass; |
void *jProvider; | void *jProvider; |
| |