You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Chris Curtis (JIRA)" <ji...@apache.org> on 2007/01/05 18:17:27 UTC
[jira] Created: (GERONIMO-2698) DirectoryGBean not referenceable as
a GBean
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)
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.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (GERONIMO-2698) DirectoryGBean not referenceable as
a GBean
Posted by "David Jencks (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-2698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Jencks closed GERONIMO-2698.
----------------------------------
Resolution: Fixed
Fix Version/s: 2.1
We don't use proxies any more for gbean references, so you wouldn't run into a problem like this in a current geronimo release.
> 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
> Fix For: 2.1
>
>
> 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.
[jira] Updated: (GERONIMO-2698) DirectoryGBean not referenceable as
a GBean
Posted by "Jason Dillon (JIRA)" <ji...@apache.org>.
[ 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.