I am using org.apache.slide.common.EmbeddedDomain#addNamespace() and
#removeNamespace() for dynamic loading and removing namespace. It work well.

Somchai

----- Original Message -----
From: "Richard Emberson" <[EMAIL PROTECTED]>
To: "Slide Developers Mailing List" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, July 04, 2003 6:06 AM
Subject: Re: Dynamic Namespace creation/deletion


> Did you look at the testsuite directory that comes with Slide?
> Its a good starting point. (Still have to see if one can actually
> define a new namespace with the testsuite code.)
>
>
> Richard Emberson wrote:
> >
> > Think development process. You want to have you junit test
> > run some code that requires access to a Slide repository.
> > First, you want to make sure that no one else is using the
> > same, test, namespace. Next you wish to populate the namespace
> > with your test content, etc.. Then you test and, finally, you
> > get rid of the test namespace.
> >
> > This requires the dynamic create (and deletion) of namespaces.
> > The current code does not allow this - the Domain.java static
> > method initNamespace() is private. Also, there is no client
> > api for passing in xml describing the test namespace nor an api
> > for its later deletion.
> >
> > Thoughts?
> >
> > Richard
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to