Remove JDK 1.4 annotation examples from reference manual
--------------------------------------------------------
Key: JBAOP-400
URL:
http://jira.jboss.com/jira/browse/JBAOP-400
Project: JBoss AOP
Issue Type: Task
Security Level: Public (Everyone can see)
Reporter: Kabir Khan
Assigned To: Flavia Rainone
Fix For: 2.0.0.alpha5
1) Get rid of these from Chapter 5 annotation bindings. E.g.
======
In JDK 1.5 we use the @Aspect annotation as follows:
package com.mypackage;
import org.jboss.aop.Aspect;
import org.jboss.aop.advice.Scope;
import org.jboss.aop.joinpoint.Invocation;
@Aspect (scope = Scope.PER_VM)
public class MyAspect
{
public Object myAdvice(Invocation invocation)
}
And in JDK 1.4.2:
package com.mypackage;
/**
* @@Aspect (scope = Scope.PER_VM)
*/
public class MyAspect
{
public Object myAdvice(Invocation invocation)
{
return invocation.invokeNext();
}
}
======
becomes:
======
In JDK 1.5 we use the @Aspect annotation as follows:
package com.mypackage;
import org.jboss.aop.Aspect;
import org.jboss.aop.advice.Scope;
import org.jboss.aop.joinpoint.Invocation;
@Aspect (scope = Scope.PER_VM)
public class MyAspect
{
public Object myAdvice(Invocation invocation)
}
======
2) Modify Chapter 7 Annotation Compiler for JDK 1.4 to Talk about JBoss Retro as the
preferred way of using annotations (and enums) in the code. We probably want that to go in
Chapter 7.1, and to move the existing 7.1, 7.2, 7.3, 7.4 into 7.2.1, 7.2.2, 7.2.3, 7.2.4?
I reworked the tutorial examples annotation and annotation14 to talk about that, so look
there for some ideas.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira