summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/IdUniquenessStrategy.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/PortableServer/IdUniquenessStrategy.h')
-rw-r--r--TAO/tao/PortableServer/IdUniquenessStrategy.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/TAO/tao/PortableServer/IdUniquenessStrategy.h b/TAO/tao/PortableServer/IdUniquenessStrategy.h
index b3372d94343..323356245ea 100644
--- a/TAO/tao/PortableServer/IdUniquenessStrategy.h
+++ b/TAO/tao/PortableServer/IdUniquenessStrategy.h
@@ -12,14 +12,12 @@
#define TAO_ID_UNIQUENESS_STRATEGY_H
#include /**/ "ace/pre.h"
-#include "tao/PortableServer/portableserver_export.h"
+#include "tao/PortableServer/IdUniquenessPolicyC.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "tao/PortableServer/Policy_Strategy.h"
-#include "tao/PortableServer/IdUniquenessPolicyC.h"
#include "tao/PortableServer/PS_ForwardC.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
@@ -28,22 +26,24 @@ namespace TAO
{
namespace Portable_Server
{
- class TAO_PortableServer_Export IdUniquenessStrategy
- : public Policy_Strategy
+ class IdUniquenessStrategy
{
public:
+ IdUniquenessStrategy ();
+ virtual ~IdUniquenessStrategy () = default;
+
+ virtual void strategy_init (TAO_Root_POA *poa) = 0;
+
+ virtual void strategy_cleanup () = 0;
+
/*
* Validate if the servant may be activated
* @retval true This servant may be activated
* @retval false This servant may not be activated
*/
- virtual bool is_servant_activation_allowed (
- PortableServer::Servant s,
- bool &w) = 0;
+ virtual bool is_servant_activation_allowed (PortableServer::Servant s, bool &w) = 0;
virtual bool allow_multiple_activations () const = 0;
-
- virtual ::PortableServer::IdUniquenessPolicyValue type() const = 0;
};
}
}