org.apache.avalon.composition.model
Interface Commissionable

All Known Subinterfaces:
Appliance, ComponentModel, ContainmentModel, DeploymentModel, LifestyleManager
All Known Implementing Classes:
AbstractAppliance, AbstractLifestyleManager, DefaultComponentModel, DefaultContainmentModel, DefaultDeploymentModel

public interface Commissionable

The Comissionable interface defines the contract for an manager of deployable components.

Version:
$Revision: 1.1 $ $Date: 2004/02/10 16:23:33 $
Author:
Avalon Development Team

Method Summary
 void commission()
          Commission the runtime handler.
 void decommission()
          Invokes the decommissioning phase.
 

Method Detail

commission

public void commission()
                throws Exception
Commission the runtime handler.

Throws:
Exception - if a hanfdler commissioning error occurs

decommission

public void decommission()
Invokes the decommissioning phase. Once a handler is decommissioned it may be re-commissioned.



Copyright © The Apache Software Foundation. All Rights Reserved.