[jboss-jira] [JBoss JIRA] Commented: (JBMDR-21) Create a meta annotation for ignorable instance annotations

Ales Justin (JIRA) jira-events at lists.jboss.org
Tue Apr 1 06:01:41 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBMDR-21?page=comments#action_12406099 ] 
            
Ales Justin commented on JBMDR-21:
----------------------------------

Done.
Added new package, org.jboss.metadata.spi.annotation, where MDR's annotations should reside.



> Create a meta annotation for ignorable instance annotations
> -----------------------------------------------------------
>
>                 Key: JBMDR-21
>                 URL: http://jira.jboss.com/jira/browse/JBMDR-21
>             Project: JBoss MetaData Repository
>          Issue Type: Task
>          Components: MetaData
>            Reporter: Adrian Brock
>         Assigned To: Ales Justin
>             Fix For: JBossMDR-2.0.0.CR1
>
>
> When AOP asks whether there are instance annotations it does this to decide whether an instance proxy is required.
> In some cases, e.g. the @JMX annotation, the instance annotation does not require an instance proxy
> instead we are just reusing the point cut language to invoke "advices" during deployment.
> To better handle this case, we should be able to meta annotate an annotation as not requiring an instance proxy,
> e.g. something like:
> @org.jboss.metadata.spi.annotation.InstanceAnnotation(false)
> public @interface JMX
> {
> ...
> }
> then we can tell aop whether an instance proxy is required.

-- 
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

        



More information about the jboss-jira mailing list