[wildfly-dev] WFLY-4200 WAR MDB cannot obtain superclass on module classpath

Eduardo Sant´Ana da Silva eduardo.santanadasilva at gmail.com
Sat May 2 18:23:42 EDT 2015


I was looking at :WFLY-4200 WAR MDB cannot obtain superclass on module
classpath

This is what I posted about it:


"I believe that the problem is because
AnnotatedEJBComponentDescriptionDeploymentUnitProcessor executes in the
parse phase:

Phase.PARSE,Phase.PARSE_CREATE_COMPONENT_DESCRIPTIONS

Since the dependencies will be resolved at  Phase.DEPENDENCIES, your build
will not work.
Regarding WFLY, my suggestion is not throw the
EjbLogger.ROOT_LOGGER.mdbDoesNotImplementNorSpecifyMessageListener(beanClass)
only bring up some flag that the required interfaces were not yet resolved,
some attachment could be useful, just to retain the super class name. When
the dependencies were solved, the class will be present on the class index
and the test against the annotation should be performed again. Since that
work will be done twice, to verify the required interfaces, this requires
some experts advice."

Thanks,
-- 
__________________________
Eduardo Sant'Ana da Silva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/wildfly-dev/attachments/20150502/0650125a/attachment.html 


More information about the wildfly-dev mailing list