|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.synapse.config.xml.MediatorFactoryFinder
public class MediatorFactoryFinder
This class is based on J2SE Service Provider model http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html#Service%20Provider
| Method Summary | |
|---|---|
Map<QName,Class> |
getFactoryMap()
This method exposes all the MediatorFactories and its Extensions |
static MediatorFactoryFinder |
getInstance()
|
Mediator |
getMediator(OMElement element,
Properties properties)
This method returns a Processor given an OMElement. |
Object |
getObjectFromOMNode(OMNode om,
Properties properties)
Allow the mediator factory finder to act as an XMLToObjectMapper for Mediators (i.e. |
static void |
reset()
Force re initialization next time |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static MediatorFactoryFinder getInstance()
public static void reset()
public Mediator getMediator(OMElement element,
Properties properties)
element - XML representation of a mediatorproperties - bag of properties to pass in any information to the factory
public Map<QName,Class> getFactoryMap()
public Object getObjectFromOMNode(OMNode om,
Properties properties)
getObjectFromOMNode in interface XMLToObjectMapperom - node from which the object is expectedproperties - bag of properties to pass in any information to the factory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||