Reference to certain subclass or spring bean

Hi All,

I would like to have resolvable reference to Java Class or Spring bean -  where is a good starting poing for it?
Struts plugin sources show only java class reference and documentation is as usually pretty mum on the issue.

1 comment
Comment actions Permalink

If you're using the Dom API, resolving to a class is extremely easy.

     GenericAttributeValue<PsiClass> getClazz();

There's also a nice annotation for limiting the valid classes allowed

    @ExtendClass(allowInterface = true, instantiatable = false)

For resolving to Spring beans, I don't believe this easily possible as the Spring plugin is closed source. I have a similiar use case, which is why I originally posted this request
You can of course try to provide your own implementation of the spring plugin though :)


Please sign in to leave a comment.