jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Kennedy <da...@us.ibm.com>
Subject Re: Dynamic creation of workspaces
Date Mon, 12 Jun 2006 15:30:43 GMT
Odd that I have to login to a workspace to be able to create workspaces, 
but I'll take it.....thanks.

David

"Stefan Guggisberg" <stefan.guggisberg@gmail.com> 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 <davek@us.ibm.com> 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
> >
> >

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message