|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
UMOContainerContext
defines the contract between Mule and
an underlying container such as String or Pico.
Method Summary | |
void |
configure(java.io.Reader configuration,
java.lang.String doctype,
java.lang.String encoding)
This method will be called if there is a configuration fragement for the container to use to configure itself. |
java.lang.Object |
getComponent(java.lang.Object key)
Queries a component from the underlying container |
java.lang.String |
getName()
Gets the identifying name of the container |
void |
setName(java.lang.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 |
public void setName(java.lang.String name)
name
- the identifying name of the containerpublic java.lang.String getName()
public java.lang.Object getComponent(java.lang.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 foundpublic void configure(java.io.Reader configuration, java.lang.String doctype, java.lang.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 |