You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Richard Emberson <re...@edgedynamics.com> on 2003/07/03 22:35:23 UTC

Dynamic Namespace creation/deletion

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: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: Dynamic Namespace creation/deletion

Posted by SomchaiDion <ls...@k3.dion.ne.jp>.
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" <re...@edgedynamics.com>
To: "Slide Developers Mailing List" <sl...@jakarta.apache.org>
Cc: <sl...@jakarta.apache.org>
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: slide-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: slide-dev-help@jakarta.apache.org
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: Dynamic Namespace creation/deletion

Posted by SomchaiDion <ls...@k3.dion.ne.jp>.
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" <re...@edgedynamics.com>
To: "Slide Developers Mailing List" <sl...@jakarta.apache.org>
Cc: <sl...@jakarta.apache.org>
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: slide-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: slide-dev-help@jakarta.apache.org
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org


Re: Dynamic Namespace creation/deletion

Posted by Richard Emberson <re...@edgedynamics.com>.
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: slide-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-dev-help@jakarta.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: Dynamic Namespace creation/deletion

Posted by Richard Emberson <re...@edgedynamics.com>.
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: slide-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-dev-help@jakarta.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org