[jboss-jira] [JBoss JIRA] Created: (JBMAN-27) Need a ManagedObjectFactory.initManagedObject(Object instance, Class instanceType, String, String) method
Scott M Stark (JIRA)
jira-events at lists.jboss.org
Fri Oct 24 10:25:21 EDT 2008
Need a ManagedObjectFactory.initManagedObject(Object instance, Class instanceType, String, String) method
---------------------------------------------------------------------------------------------------------
Key: JBMAN-27
URL: https://jira.jboss.org/jira/browse/JBMAN-27
Project: JBoss Managed
Issue Type: Feature Request
Components: managedobject
Affects Versions: JBossMan.2.0.0.CR2
Reporter: Scott M Stark
Assignee: Scott M Stark
If the instance from which the managed object is being created implements an interface that was used to register the InstanceClassFactory<T>, it fails to be located as simply calling instance.getClass() returns the implementation type. The AbstractManagedObjectFactory.getInstanceClassFactory(Class<X> clazz) could also iterate over interfaces when looking for a match as well.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list