On 6/12/06, David Kennedy <[EMAIL PROTECTED]> wrote:
Odd that I have to login to a workspace to be able to create workspaces,
but I'll take it.....thanks.

workspace creation is subject to authentication/authorization, that's
why createWorkspace() is not exposed on Repository. createWorkspace()
is 'workspace'-related, that's why it is exposed on Workspace...

cheers
stefan


David

"Stefan Guggisberg" <[EMAIL PROTECTED]> wrote on 06/12/2006
11:16:11 AM:

> hi david,
>
> have a look at http://jackrabbit.apache.
> org/api-1/org/apache/jackrabbit/api/JackrabbitWorkspace.html
>
> all you have to do is casting your Workspace instance to
JackrabbitWorkspace.
>
> cheers
> stefan
>
> On 6/12/06, David Kennedy <[EMAIL PROTECTED]> wrote:
> > I'd like to create a workspace dynamically.  It appears the only way I
can
> > currently do this is to subclass RepositoryImpl and write my own
> > TransientRepository, BindableRepository, etc. classes to use the
subclass.
> >   The reason I would need to subclass RepositoryImpl would be to get
to
> > the createWorkspace methods which are currently protected.  I need to
get
> > to the createWorkspace methods to add the workspace definition to the
> > wspInfos table.
> >
> > Does anybody else desire this capability?  Is it possible to make the
> > createWorkspace methods public rather than protected to enable access
and
> > thus dynamic creation?
> >
> > David
> >
> >


Reply via email to