org.apache.avalon.activation.appliance.impl
Class CompositeBlock
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.avalon.activation.appliance.impl.AbstractAppliance
org.apache.avalon.activation.appliance.impl.AbstractBlock
org.apache.avalon.activation.appliance.impl.CompositeBlock
- All Implemented Interfaces:
- Appliance, Block, Composite, CompositionEventListener, Deployable, Disposable, Engine, EventListener, Home, LogEnabled
- public class CompositeBlock
- extends AbstractBlock
- implements Home
The DefaultBlock is responsible for the management
of the assembly of the subsidiary appliances, the coordination
of the deployment, decommissioning and eventual dissassembly of
contained appliances, and the overall management of a containment
context.
- Version:
- $Revision: 1.2.4.4 $ $Date: 2004/01/12 06:22:52 $
- Author:
- Avalon Development Team
Methods inherited from class org.apache.avalon.activation.appliance.impl.AbstractBlock |
assemble, createAppliance, createRootBlock, decommission, deploy, disassemble, dispose, getContainmentModel, getProviders, isAssembled, locate, locate, locate, locate, locate, modelAdded, modelRemoved, toString |
resolve
public Object resolve()
throws Exception
- Resolve a object to a value.
- Specified by:
resolve
in interface Home
- Specified by:
resolve
in class AbstractBlock
- Returns:
- the resolved object
- Throws:
Exception
- if an error occurs
release
public void release(Object instance)
- Release an object
- Specified by:
release
in interface Home
- Specified by:
release
in class AbstractBlock
- Parameters:
instance
- the object to be released
Copyright © Apache Software Foundation. All Rights Reserved.