|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UMOContainerContext
UMOContainerContext
defines the contract between Mule and an
underlying container such as Spring or Pico.
Method Summary | |
---|---|
void |
configure(Reader configuration,
String doctype,
String encoding)
This method will be called if there is a configuration fragement for the container to use to configure itself. |
Object |
getComponent(Object key)
Queries a component from the underlying container |
String |
getName()
Gets the identifying name of the container |
void |
setName(String name)
The identifying name of the container. |
Methods inherited from interface org.mule.umo.lifecycle.Initialisable |
---|
initialise |
Methods inherited from interface org.mule.umo.lifecycle.Disposable |
---|
dispose |
Method Detail |
---|
void setName(String name)
name
- the identifying name of the containerString getName()
Object getComponent(Object key) throws ObjectNotFoundException
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
ObjectNotFoundException
- if the component is not foundvoid configure(Reader configuration, String doctype, String encoding) throws ContainerException
configuration
- doctype
- the doctype declaration to use for the configuration fragment.
can be null if no validation is to be performed or the fragment is
not Xmlencoding
- the encoding to use in the Xml declaration. Default is UTF-8
ContainerException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |