Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / PortableServer / IdUniquenessStrategyMultiple.cpp
blobcfcdd9fb672077f36081ce82a106af989b74cf72
1 // -*- C++ -*-
2 #include "tao/PortableServer/IdUniquenessStrategyMultiple.h"
4 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
6 namespace TAO
8 namespace Portable_Server
10 void
11 IdUniquenessStrategyMultiple::strategy_init (TAO_Root_POA * /*poa*/)
15 void
16 IdUniquenessStrategyMultiple::strategy_cleanup ()
20 bool
21 IdUniquenessStrategyMultiple::is_servant_activation_allowed
22 (PortableServer::Servant/*servant*/,
23 bool &/*wait_occurred_restart_call*/)
25 // With the multiple id strategy we can always activate the servant
26 // another time
27 return true;
30 bool
31 IdUniquenessStrategyMultiple::allow_multiple_activations () const
33 return true;
38 TAO_END_VERSIONED_NAMESPACE_DECL