|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContainerContext
ContainerContext
defines the contract between Mule and an
underlying container such as Spring or Pico.
Field Summary |
---|
Fields inherited from interface org.mule.api.lifecycle.Initialisable |
---|
PHASE_NAME |
Fields inherited from interface org.mule.api.lifecycle.Disposable |
---|
PHASE_NAME |
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 service 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.api.lifecycle.Initialisable |
---|
initialise |
Methods inherited from interface org.mule.api.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 service with. Its up to the individual
implementation to check the type of this key and look up objects
accordingly
ObjectNotFoundException
- if the service 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 |