aboutsummaryrefslogtreecommitdiffstats
path: root/docs/adk15ProgGuideDB/pertypewithin.xml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/adk15ProgGuideDB/pertypewithin.xml')
-rw-r--r--docs/adk15ProgGuideDB/pertypewithin.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/adk15ProgGuideDB/pertypewithin.xml b/docs/adk15ProgGuideDB/pertypewithin.xml
index 5f5b8fd66..e870f10e5 100644
--- a/docs/adk15ProgGuideDB/pertypewithin.xml
+++ b/docs/adk15ProgGuideDB/pertypewithin.xml
@@ -2,5 +2,19 @@
<title>The pertypewithin Aspect Instantiation Model</title>
+ <para>This is a placeholder to stimulate discussion around a possible new
+ instantiation model : <literal>pertypewithin(OptionalParensTypePattern)</literal>.
+ The semantics of <literal>pertypewithin</literal> are that a new aspect
+ instance will be created at the <literal>staticinitialization</literal>
+ join point of each type matching the given type pattern.</para>
+
+ <para>Discussion must include motivating use cases. Raise the issue that
+ pertypewithin takes a type pattern, not a pointcut.</para>
+
+ <para>We will only do this if we believe we can generate an implementation
+ that is significantly more efficient than hand-coded alternatives.</para>
+
+ <para>Need to define aspectOf(Class), hasAspect(Class).</para>
+
</chapter>