This content has been marked as final. Show 2 replies
The first code block actually is:
... @Depends("portal:service=Module,type=User") private UserModule userModule; ...
Sorry for the confusion.
Never mind, I am using @Resource annotation and it is much cleaner.
... @Resource(mappedName="java:/portal/UserModule") private UserModule userModule; ...