org.apache.avalon.activation.appliance
Interface Appliance

All Superinterfaces:
Deployable, Home
All Known Subinterfaces:
Block
All Known Implementing Classes:
AbstractAppliance, AbstractBlock

public interface Appliance
extends Deployable, Home

An Appliance is the basic tool merlin wraps around a component to provide support for lifecycle and lifestyle management. Different implementations of Appliance can be plugged into the merlin system to allow merlin to manage a variety of components. The name appliance is used to call up an association with a kitchen utility like a microwave. Merlin acts as a chef in his kitchen, and uses various appliances to "cook up" various components as the restaurant customers (which can be other components or systems on the other end on the planet) ask for them. An appliance manages the establishment of a component type relative to a deployment criteria. Once established, an appliance provides support for the deployment of component instances on request. An appliance is responsible for component lifestyle and lifecycle management during the deployment and decommission cycles.

Version:
$Revision: 1.2 $ $Date: 2003/10/18 00:34:19 $
Author:
Avalon Development Team

Field Summary
static String MBEAN_SERVER_KEY
           
 
Method Summary
 Model getModel()
          Return the model backing the appliance.
 boolean isEnabled()
          Test if this appliance is enabled.
 
Methods inherited from interface org.apache.avalon.activation.appliance.Deployable
decommission, deploy
 
Methods inherited from interface org.apache.avalon.activation.appliance.Home
release, resolve
 

Field Detail

MBEAN_SERVER_KEY

public static final String MBEAN_SERVER_KEY
See Also:
Constant Field Values
Method Detail

getModel

public Model getModel()
Return the model backing the appliance.

Returns:
the model that the appliance is managing

isEnabled

public boolean isEnabled()
Test if this appliance is enabled. An appliance is enabled unless explicitly disabled by an assembly directive, or implicity disabled as a result of an assembly failure.

Returns:
TRUE if the appliance is enabled.


Copyright © Apache Software Foundation. All Rights Reserved.