org.mule.extras.plexus
Class PlexusContainerContext

java.lang.Object
  extended byorg.mule.extras.plexus.PlexusContainerContext
All Implemented Interfaces:
UMOContainerContext

public class PlexusContainerContext
extends java.lang.Object
implements UMOContainerContext

PlexusContainerContext integrate the plexus container with Mule so that Mule objects can be constructed using Plexus-managed objects

Version:
$Revision: 1.2 $
Author:
Brian Topping, Ross Mason

Field Summary
protected  java.net.URL configFile
           
protected  Embedder container
           
 
Constructor Summary
PlexusContainerContext()
           
PlexusContainerContext(Embedder container)
           
 
Method Summary
 void configure(java.io.Reader configuration, java.util.Map configurationProperties)
           
 java.lang.Object getComponent(java.lang.Object key)
           
 java.net.URL getConfigFile()
           
 void setConfigFile(java.lang.String configFile)
           
 void setConfigFile(java.net.URL configFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

container

protected Embedder container

configFile

protected java.net.URL configFile
Constructor Detail

PlexusContainerContext

public PlexusContainerContext()

PlexusContainerContext

public PlexusContainerContext(Embedder container)
Method Detail

getComponent

public java.lang.Object getComponent(java.lang.Object key)
                              throws ComponentNotFoundException
Specified by:
getComponent in interface UMOContainerContext
Throws:
ComponentNotFoundException

configure

public void configure(java.io.Reader configuration,
                      java.util.Map configurationProperties)
               throws ComponentResolverException
Specified by:
configure in interface UMOContainerContext
Throws:
ComponentResolverException

getConfigFile

public java.net.URL getConfigFile()

setConfigFile

public void setConfigFile(java.net.URL configFile)
                   throws ConfigurationException
Throws:
ConfigurationException

setConfigFile

public void setConfigFile(java.lang.String configFile)
                   throws ConfigurationException
Parameters:
configFile - The configFile to set.
Throws:
ConfigurationException


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.