jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Belisle <Nicolas.Beli...@bibl.ulaval.ca>
Subject Re: How do I create more workspaces
Date Wed, 06 Jul 2005 19:04:50 GMT
Hi Richard,

I would suggest WorkspaceImpl#createWorkspace(), since this method is 
public rather than protected (SessionImpl#createWorkspace()).

Hope it helps,

Nicolas


Le 13:53 2005-07-06, vous avez écrit:
>Apologies if this is a really dumb question but how can I create multiple 
>workspaces with jackrabbit? Passing a named workspace into the login 
>returns a "javax.jcr.NoSuchWorkspaceException", but will create a new 
>default workspace if it dosnt already exist and trawling over the API 
>hasn't helped. The repository.xml file seems to define a workspace 
>template rather than a list of workspaces (at least that's how I read it).
>
>Ah, as I'm typing I can see createWorkspace() on SessionImpl -- I guess 
>I'm supposed to cast an active session object to the jackrabbit 
>SessionImpl and call that?
>
>- Richard


Mime
View raw message