geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Dillon (JIRA)" <j...@apache.org>
Subject [jira] Updated: (GERONIMO-2698) DirectoryGBean not referenceable as a GBean
Date Thu, 14 Jun 2007 17:44:27 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-2698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jason Dillon updated GERONIMO-2698:
-----------------------------------

    Component/s: naming

> DirectoryGBean not referenceable as a GBean
> -------------------------------------------
>
>                 Key: GERONIMO-2698
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-2698
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: naming
>    Affects Versions: 1.1.1
>            Reporter: Chris Curtis
>            Priority: Minor
>
> Specifying a reference to DirectoryGBean.class fails because DirectoryGBean doesn't have
a no-arg constructor. Example:
> {{...}}
> {{infoFactory.addReference("DirectoryGBean", DirectoryGBean.class);}}
> {{...}}
> At load time, this throws:
> {{java.lang.IllegalArgumentException: Cannot find matching method/constructor}}
> 	{{at org.apache.geronimo.directory.DirectoryGBean$$EnhancerByCGLIB$$f37d2ade$$FastClassByCGLIB$$dc9cb3c5.newInstance(<generated>)}}
> The cleanest way to resolve this seems like it would be to pull up the relevant attributes/operations
to an interface, which would be usable as a reference classspec.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message