This project has retired. For details please refer to its
Attic page .
ComponentContext (Cocoon Sitemap Implementation 1.0.0 API)
org.apache.cocoon.core.container.spring.avalon
Class ComponentContext
java.lang.Object
org.apache.avalon.framework.context.DefaultContext
org.apache.cocoon.core.container.spring.avalon.ComponentContext
All Implemented Interfaces: Context , Serializable
public class ComponentContext extends DefaultContext
This is the Context implementation for Cocoon components.
It extends the DefaultContext by a special handling for
getting objects from the object model and other application information.
Version:
$Id: ComponentContext.html 1304280 2012-03-23 11:18:01Z ilgrosso $
See Also: ContextHelper ,
Serialized Form
OBJECT_MODEL_KEY_PREFIX
protected static final String OBJECT_MODEL_KEY_PREFIX
See Also: Constant Field Values
ComponentContext
public ComponentContext (Context parent)
Create a Context with specified parent.
Parameters: parent - the parent Context (may be null)
ComponentContext
public ComponentContext ()
Create a Context with no parent.
get
public Object get (Object key)
throws ContextException
Retrieve an item from the Context.
Parameters: key - the key of item
Returns: the item stored in context
Throws:
ContextException - if item not present
Copyright © 1999-2008 The Apache Software Foundation . All Rights Reserved.