+ // register the task in the structure\r
+ TreeSPath targetPath = createTargetPath(getOwningTarget());\r
+ TreeSPath taskPath = targetPath.createChild(getTaskName()\r
+ + targetPath.listChildren(getRegistry()).size());\r
+ getRegistry().register(taskPath, this);\r
+ path = taskPath;\r
+\r
+ // notify registered args\r
+ for (AbstractSpringArg arg : sAwareArgs) {\r
+ Object obj = arg.getBeanInstance();\r
+\r
+ if (obj instanceof StructureAware) {\r
+ StructureAware sAwareT = (StructureAware) obj;\r
+ sAwareT.notifyCurrentPath(getRegistry(), taskPath);\r
+ }\r