We are trying to create a service that does some simple migration for
our users and ideally this service runs when Jetspeed is started.  The
service will require the use of the PageManager and it's APIs to look
into the folders and pages for each user. We have injected the PM
reference into our service. We are storing our pages in folders.  We
have an init-method on our singleton Spring bean that gets called in
our service.  When getFolder() is called an exception is thrown
(Missing JSSubject).  I understand why the exception is happening.

1. Is there a supported way to get such a service to run as a
privileged user when Jetspeed is starting up?
2. Is there an example of Jetspeed doing something similar in the
source some place?
3. Is there a supported way to get our service called after Jetspeed
is fully up and running instead of relying on Spring's init-method?

I think we could always make the service session scoped and perform
the operation for a single user at at time but that doesn't seem ideal
for our implementation.
If we have to go this route we would need to be sure that this service
ran before any other session services we have implemented.  I'm not
sure how to do that.  Similar to #3 above.

Thanks for any advice/help.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to