[jboss-jira] [JBoss JIRA] Commented: (JBAS-4473) Java to IDL mapping erroneously treats a 'get' method as an attribute

Dimitris Andreadis (JIRA) jira-events at lists.jboss.org
Wed Jun 6 16:47:18 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBAS-4473?page=comments#action_12364437 ] 
            
Dimitris Andreadis commented on JBAS-4473:
------------------------------------------

The problem with this is that a stub cannot be dynamically generated for a remote interface like:

public interface Logger extends EJBObject
{
    /**
     * Retrieves the log as a String
     */
    public String get()
	throws RemoteException;
...
}

> Java to IDL mapping erroneously treats a 'get' method as an attribute
> ---------------------------------------------------------------------
>
>                 Key: JBAS-4473
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4473
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: IIOP service
>    Affects Versions: JBossAS-4.0.5.GA, JBossAS-4.2.0.GA
>            Reporter: Dimitris Andreadis
>         Assigned To: Dimitris Andreadis
>             Fix For: JBossAS-4.2.1.CR1,  JBossAS-5.0.0.Beta3
>
>
> When EJB interfaces are analyzed and mapped to IDL, method like
> <return-type> get()
> is erroneously treated as attribute.
> It would be an attribute if it were of the type:
> <return-type> get<name>()
> Same for set(<parameter>)

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