[jboss-dev] Way to scan for classes that extend or implement
Ales Justin
ales.justin at gmail.com
Mon Jun 14 11:04:51 EDT 2010
Eh, my bad.
Yeah, it should have said
"Then you get sub classes of these annotated classes".
/**
* Get sub classes.
*
* @param url the optional classpath entry path
* @param superTypeToLookFor the super type
* @return set of sub types
*/
<T> Set<Class<? extends T>> getSubClassesOf(URL url, Class<T> superTypeToLookFor);
This is the existing HierarchyIndex api.
On Jun 14, 2010, at 4:53 PM, Emmanuel Bernard wrote:
>
> On 14 juin 2010, at 16:49, Ales Justin wrote:
>
>>
>> First you get all the classes that are annotated with @Path.
>> Either they are interfaces or direct classes.
>> Then you can get super classes of these annotated classes.
>
> Bill would need the subclasses and implementations of these annotated types (recursively maybe).
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development
More information about the jboss-development
mailing list