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