org.apache.avalon.composition.model.impl
Class DefaultImportModel

java.lang.Object
  extended byorg.apache.avalon.composition.model.impl.DefaultEntryModel
      extended byorg.apache.avalon.composition.model.impl.DefaultImportModel
All Implemented Interfaces:
EntryModel

public class DefaultImportModel
extends DefaultEntryModel

Default implementation of a the context entry import model.

Version:
$Revision: 1.8 $ $Date: 2004/03/17 10:39:10 $
Author:
Avalon Development Team

Constructor Summary
DefaultImportModel(EntryDescriptor descriptor, String key, ComponentContext context)
          Creation of a new context entry import model.
 
Method Summary
 Object getValue()
          Return the context entry value.
 
Methods inherited from class org.apache.avalon.composition.model.impl.DefaultEntryModel
getKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultImportModel

public DefaultImportModel(EntryDescriptor descriptor,
                          String key,
                          ComponentContext context)
                   throws ModelException
Creation of a new context entry import model.

Parameters:
descriptor - the context entry descriptor
key - the container scoped key
context - the containment context
Method Detail

getValue

public Object getValue()
                throws ModelException
Return the context entry value.

Specified by:
getValue in interface EntryModel
Specified by:
getValue in class DefaultEntryModel
Returns:
the context entry value
Throws:
ModelException


Copyright © The Apache Software Foundation. All Rights Reserved.