]
Thierry Peng commented on SEAMWICKET-43:
----------------------------------------
this approach is implemented into the proposed solution of the seam-wicket 41 issue; see
Introduce simpler way to inject into thrid party instances
----------------------------------------------------------
Key: SEAMWICKET-43
URL:
https://issues.jboss.org/browse/SEAMWICKET-43
Project: Seam for Apache Wicket
Issue Type: Feature Request
Environment: all
Reporter: K. Bachl
currently if one needs to habe DI in e.g. a LoadableDetachableModel one needs to do:
BeanManager manager = new BeanManagerLocator().getBeanManager();
NonContextual.of(LoadableDetachableDbEntityModel.class,
manager).existingInstance(this).inject();
which is quite verbose. A more short resolution should be baked into wicket-seam, maybe
even use wicket's injector holder like this (from JavaEE-inject in wicketstuff):
InjectorHolder.getInjector().inject(this);
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: