org.mule.impl.container
Class DescriptorContainerContext
java.lang.Object
org.mule.impl.container.AbstractContainerContext
org.mule.impl.container.DescriptorContainerContext
- All Implemented Interfaces:
- Disposable, Initialisable, UMOContainerContext
- public class DescriptorContainerContext
- extends AbstractContainerContext
will Load the component form the descriptors' own properties
- Version:
- $Revision: 3798 $
- Author:
- Ross Mason
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DESCRIPTOR_CONTAINER_NAME
public static final String DESCRIPTOR_CONTAINER_NAME
- See Also:
- Constant Field Values
DescriptorContainerContext
public DescriptorContainerContext()
configure
public void configure(Reader configuration)
throws ContainerException
- Specified by:
configure in class AbstractContainerContext
- Throws:
ContainerException
setName
public void setName(String name)
- Description copied from interface:
UMOContainerContext
- The identifying name of the container. Note that implementations should
provide a default name that users can choose to override The name can be used
to reference a container when more than one is registered
- Specified by:
setName in interface UMOContainerContext- Overrides:
setName in class AbstractContainerContext
getComponent
public Object getComponent(Object key)
throws ObjectNotFoundException
- 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
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.