00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef TAO_ID_UNIQUENESS_STRATEGY_H
00014 #define TAO_ID_UNIQUENESS_STRATEGY_H
00015 #include "ace/pre.h"
00016
00017 #include "tao/PortableServer/portableserver_export.h"
00018
00019 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00020 # pragma once
00021 #endif
00022
00023 #include "tao/PortableServer/Policy_Strategy.h"
00024 #include "tao/PortableServer/IdUniquenessPolicyC.h"
00025 #include "tao/PortableServer/PS_ForwardC.h"
00026
00027 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00028
00029 namespace TAO
00030 {
00031 namespace Portable_Server
00032 {
00033 class TAO_PortableServer_Export IdUniquenessStrategy
00034 : public Policy_Strategy
00035 {
00036 public:
00037
00038
00039
00040
00041
00042 virtual bool is_servant_activation_allowed (
00043 PortableServer::Servant s,
00044 bool &w) = 0;
00045
00046 virtual bool allow_multiple_activations (void) const = 0;
00047
00048 virtual ::PortableServer::IdUniquenessPolicyValue type() const = 0;
00049 };
00050 }
00051 }
00052
00053 TAO_END_VERSIONED_NAMESPACE_DECL
00054
00055 #include "ace/post.h"
00056 #endif