Add to your service's .java
private ApplicationStateManager applicationStateManager;
public final void setApplicationStateManager(
final ApplicationStateManager applicationStateManager) {
this.applicationStateManager = applicationStateManager;
}
then when you want to get the ASO object
AsoName asoName = (AsoName) applicationStateManager.get("asoName");
Hope that helps.
Kevin
On 4/27/06, Andreas Bulling <[EMAIL PROTECTED]> wrote:
Hi folks,
I've implemented the SecurityService I mentioned in a posting
some hours ago... At least I thought of having implemented it ;)
The problem is that I don't know how to access my visit-ASO
from within my service:
<set-object property="visit" value="service:visit"/>
in hivemodule.xml and an appropriate setter doesn't work :(
I've seen on the list that someone mentioned to inject
the ASO-Manager instead and get the ASO from there.
That probably works but is it possible to inject only
the ASO I need?
Thanks!
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]