On Saturday 11 September 2004 03:10, Rajamani Saravanan wrote:
> One question though : after calling addContainmentModel(), I suppose I
> have to call assemble() and then commission() on the returned model
> instance before being able to use any of the services provided by the
> component, right?

Nah... For deployment, commission() is enough.

ContainmentModel newContainer = container.addContainmentModel( blockUrl );
newContainer.commission();

However, for undeployment you need;

container.decommission();
container.disassemble();
parent.removeModel( name );


A bit inconsistent, I know... We might look into this in the future.

Cheers
Niclas

-- 
   +------//-------------------+
  / http://www.bali.ac        /
 / http://niclas.hedhman.org / 
+------//-------------------+


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

Reply via email to