org.apache.avalon.merlin
Interface Kernel

All Superinterfaces:
KernelController
All Known Implementing Classes:
DefaultKernel

public interface Kernel
extends KernelController

A Kernel is the root of a containment solution. This interfaces defines the contract for any kernel implementation covering management aspects and service resolution aspects.

Version:
$Revision: 1.1 $ $Date: 2003/12/08 15:37:12 $
Author:
Avalon Development Team

Method Summary
 Block getBlock()
          Return the root block.
 Appliance locate(String path)
          Return the applicance matching the supplied path.
 
Methods inherited from interface org.apache.avalon.merlin.KernelController
shutdown, startup
 

Method Detail

getBlock

public Block getBlock()
Return the root block.

Returns:
the root application containment block

locate

public Appliance locate(String path)
                 throws KernelException
Return the applicance matching the supplied path.

Returns:
the appliance
Throws:
KernelException


Copyright © Apache Software Foundation. All Rights Reserved.