[jboss-jira] [JBoss JIRA] Closed: (EJBTHREE-1237) Remove casting of advisor to container in JaccAuthorizationInterceptorFactory

Anil Saldhana (JIRA) jira-events at lists.jboss.org
Thu Mar 27 15:24:41 EDT 2008


     [ http://jira.jboss.com/jira/browse/EJBTHREE-1237?page=all ]

Anil Saldhana closed EJBTHREE-1237.
-----------------------------------

    Resolution: Done

> Remove casting of advisor to container in JaccAuthorizationInterceptorFactory
> -----------------------------------------------------------------------------
>
>                 Key: EJBTHREE-1237
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-1237
>             Project: EJB 3.0
>          Issue Type: Task
>          Components: core
>    Affects Versions: AS 5.0.0.Beta4
>            Reporter: Anil Saldhana
>         Assigned To: Anil Saldhana
>             Fix For: AS 5.0.0.CR1
>
>
> Code such as 
> Container container = (Container)advisor;
> is wrong.  
> The correct way is:
> EJBContainer container = EJBContainer.getEJBContainer(advisor);
>          

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