5 Replies Latest reply on Apr 25, 2007 4:08 PM by Pete Muir

    @In with configurable component name - is it possible?

    Alex Savitsky Novice

      Is it possible to declare an @In property in an (abstract) superclass, but allow subclasses to configure the actual component name that gets injected? Currently, the only way I found was to declare an abstract String getComponentName() in superclass, and retrieve the query via Component.getInstance(getComponentName()) instead of @In declaration - but I consider this way to be rather ugly. Are there any alternatives, or maybe some planned enhancements?