|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.synapse.config.xml.StartupFinder
public class StartupFinder
Method Summary | |
---|---|
Map<QName,Class<? extends StartupFactory>> |
getFactoryMap()
|
static StartupFinder |
getInstance()
|
Startup |
getObjectFromOMNode(OMNode om,
Properties properties)
Allow the startup finder to act as an XMLToObjectMapper for Startup (i.e. |
Map<QName,Class<? extends StartupSerializer>> |
getSerializerMap()
|
Startup |
getStartup(OMElement element,
Properties properties)
This method returns a Processor given an OMElement. |
boolean |
isStartup(QName name)
Check whether an element with the given qualified name defines a startup. |
static void |
reset()
Force re initialization next time |
OMElement |
serializeStartup(OMElement parent,
Startup startup)
This method will serialize the config using the supplied QName (looking up the right class to do it) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static StartupFinder getInstance()
public static void reset()
public boolean isStartup(QName name)
name
- to be identified whether it is a startup or not
public Startup getStartup(OMElement element, Properties properties)
element
- configuration for creating the startupproperties
- bag of properties with additional information
public OMElement serializeStartup(OMElement parent, Startup startup)
parent
- -
Parent OMElement to which the created element will be added if
not nullstartup
- -
Startup to be serialized
public Map<QName,Class<? extends StartupFactory>> getFactoryMap()
public Map<QName,Class<? extends StartupSerializer>> getSerializerMap()
public Startup getObjectFromOMNode(OMNode om, Properties properties)
getObjectFromOMNode
in interface XMLToObjectMapper
om
- to build the startup objectproperties
- bag of properties with additional information
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |