jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg" <stefan.guggisb...@gmail.com>
Subject Re: Dynamic creation of workspaces
Date Mon, 12 Jun 2006 15:16:11 GMT
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
View raw message