diff options
Diffstat (limited to 'TAO/examples/POA/FindPOA/README')
-rw-r--r-- | TAO/examples/POA/FindPOA/README | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/TAO/examples/POA/FindPOA/README b/TAO/examples/POA/FindPOA/README index 9ac212956d3..e0bc53df588 100644 --- a/TAO/examples/POA/FindPOA/README +++ b/TAO/examples/POA/FindPOA/README @@ -8,7 +8,7 @@ Executable: FindPOA Description: =========== -This is a program to test the find_POA() method of the POA. It makes +This is a program to test the findPOA() method of the POA. It makes use of TAO_Adapter_Activator. Adapter activators are associated with POAs. An adapter activator @@ -20,14 +20,23 @@ at the beginning of execution does not need to use or provide an adapter activator; it is necessary only for the case in which POAs need to be created during request processing. -The test program tests the "find_POA" method in RootPOA with a single -POA named "firstPOA" and then with a POA namestring "secondPOA". In -the second case the secondPOA is non-existent and is created. +TAO_Adapter_Activator takes a '/' (backslash) separated string of POA +names and creates them in a hierarchy with the left most substring as +the root of that hierarchy. + +The test program tests the "findPOA" method in RootPOA with a single +POA named "firstPOA" and then with a POA namestring +"firstPOA/secondPOA". In the second case the secondPOA is +non-existent and is created. + +Finally the findPOA method in RootPOA is called with a string +"thirdPOA/forthPOA/fifthPOA", resulting in the creation of +thirdPOA,forthPOA and a fifthPOA and returns the fifthPOA. To check the findPOA method the names of the POA are queried and printed on the screen. POAs hold only the name relative to its -parent. For eg. the name of secondPOA is just "secondPOA" and NOT -"/firstPOA/secondPOA". +parent. For eg. the name of fifthPOA is just "fifthPOA" and NOT +"RootPOA/thirdPOA/forthPOA/fifthPOA". To Test: ======== @@ -38,5 +47,6 @@ To Test: <Empty string for RootPOA> firstPOA secondPOA + fifthPOA 3. There might be other diagnostic messages. |