|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
ehcache via PlexusIs there a way to get a reference to the ehcache CacheManager via Plexus in Nexus? The only reference I could find (I'm still looking at the 1.2.1 codebase) is in EhCacheCacheManager, but it's a private field.
I'm trying to configure caching within the Crowd Plugin and it seems like it would make sense to reuse the existing CacheManager, especially given the path interpolation that happens inside the EhCacheCacheManager class.
Thanks,
Justin |
|
|
Re: ehcache via PlexusJustin, there are a couple ways of doing this. in 1.2.1 (or 1.3) if your inside your realm, you can get the the AuthorizationCache getAuthorizationCache JSecurity will also soon have a authorization Cache. (https://issues.apache.org/jira/browse/KI-58) in 1.3 you could get a access to the EhCache by using: @Requirement private PlexusEhCacheWrapper cacheManager; All this does is load the interpolated ehcache.xml file to configure ehcache. On Mar 6, 2009, at 7:38 PM, Edelson, Justin wrote:
|
|
|
RE: ehcache via PlexusPlexusEhCacheWrapper looks like what I'm looking for.
Is 1.3 about to be released? I see r.s.o. is already running
it.
BTW, what is "spice"?
Thanks,
Justin
From: Toby Stevens [mailto:tstevens@...] Sent: Monday, March 09, 2009 2:29 PM To: nexus-dev@... Subject: Re: [nexus-dev] ehcache via Plexus Justin, there are a couple ways of doing this.
in 1.2.1 (or 1.3) if your inside your realm, you can get the the
AuthorizationCache getAuthorizationCache JSecurity
will also soon have a authorization Cache. (https://issues.apache.org/jira/browse/KI-58)
in 1.3 you could get a access to the EhCache by using:
@Requirement
private PlexusEhCacheWrapper cacheManager; All this does is load the interpolated ehcache.xml file to configure
ehcache.
On Mar 6, 2009, at 7:38 PM, Edelson, Justin wrote:
|
|
|
RE: ehcache via PlexusIt’s all released now. Spice is a project to hold random
components that are common between other projects. From: Edelson, Justin
[mailto:Justin.Edelson@...] PlexusEhCacheWrapper looks like what I'm looking for. Is 1.3 about
to be released? I see r.s.o. is already running it. BTW, what is "spice"? Thanks, Justin From: Toby Stevens [mailto:tstevens@...]
Justin, there are a couple ways of doing this. in 1.2.1 (or 1.3) if your inside your realm, you can get the
the AuthorizationCache getAuthorizationCache
JSecurity will also soon have a authorization Cache. (https://issues.apache.org/jira/browse/KI-58) in 1.3 you could get a access to the EhCache by using: @Requirement private
PlexusEhCacheWrapper cacheManager; All this does is load the interpolated ehcache.xml file to
configure ehcache. On Mar 6, 2009, at 7:38 PM, Edelson, Justin wrote:
Is there a way to get a reference to the ehcache CacheManager via
Plexus in Nexus? The only reference I could find (I'm still looking at the
1.2.1 codebase) is in EhCacheCacheManager, but it's a private field. I'm
trying to configure caching within the Crowd Plugin and it seems like it would
make sense to reuse the existing CacheManager, especially given the path
interpolation that happens inside the EhCacheCacheManager class. Thanks, Justin |
| Free embeddable forum powered by Nabble | Forum Help |