org.mule.impl.container
Class MuleContainerContext

java.lang.Object
  extended by org.mule.impl.container.AbstractContainerContext
      extended by org.mule.impl.container.MuleContainerContext
All Implemented Interfaces:
Disposable, Initialisable, UMOContainerContext

public class MuleContainerContext
extends AbstractContainerContext

MuleContainerContext is a default resolver that doesn't support external reference resolution. It's function is to provide a complete implementation when a componenet resolver is not defined. The default behaviour is to build a component key as a fully qualified class name


Field Summary
static String MULE_CONTAINER_NAME
           
 
Fields inherited from class org.mule.impl.container.AbstractContainerContext
logger
 
Constructor Summary
MuleContainerContext()
           
 
Method Summary
 void configure(Reader configuration)
           
 Object getComponent(Object key)
          Queries a component from the underlying container
 
Methods inherited from class org.mule.impl.container.AbstractContainerContext
configure, dispose, getDefaultDocType, getDefaultEncoding, getName, getXmlDeclaration, initialise, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MULE_CONTAINER_NAME

public static final String MULE_CONTAINER_NAME
See Also:
Constant Field Values
Constructor Detail

MuleContainerContext

public MuleContainerContext()
Method Detail

getComponent

public Object getComponent(Object key)
                    throws ObjectNotFoundException
Description copied from interface: UMOContainerContext
Queries a component from the underlying container

Parameters:
key - the key fo find the component with. Its up to the individual implementation to check the type of this key and look up objects accordingly
Returns:
The component found in the container
Throws:
ObjectNotFoundException - if the component is not found

configure

public void configure(Reader configuration)
Specified by:
configure in class AbstractContainerContext


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.