« Return to Thread: recover CreatorManager instance

Re: recover CreatorManager instance

by davidmarginian :: Rate this Message:

Reply to Author | View in Thread

Haven't you been using the DWR container?  This should be pretty straightforward for you - something like this should work (although I don't have the source in front of me):
 

Container container = ServerContextFactory.get().getContainer();

CreatorManager creatorManager = container.getBean(CreatorManager.

class);

2009/6/17 Nicolás Pace <nicopace@...>
Hi people,
we are making a lot of advance in our securityService in Spring Security Forum.
For what we are trying to accomplish (have an authorization proxy with
caching in the client), we need access to CreatorManager instance, so
we can ask acegi if the user has authorization to call each of the
beans exported by dwr.
I've been looking into the code, and i have no clue about how to get
the CreatorManager instance.
How can i get it?

thanks,

--
Ing. Nicolás Pace
http://www.linkedin.com/in/nickar/
http://www.jornadasdelsur.org.ar/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


 « Return to Thread: recover CreatorManager instance