public class FileXmlContextBuilderConfigurator extends XmlContextBuilderConfigurator
 Represents a configurator based on XML read from an URL. Polling is supported thanks to the modification date
 provided by the URL object.
 
PollingScheduler.Polling| Constructor and Description | 
|---|
FileXmlContextBuilderConfigurator(URL wuicXml)
 Creates a new instance. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected Long | 
getLastUpdateTimestampFor(String path)
 Retrieves a timestamp that indicates the last time this nut has changed. 
 | 
String | 
getTag()
 Gets the tag to use to identify the set of settings defined when  
ContextBuilderConfigurator.configure(ContextBuilder)
 is called. | 
protected XmlWuicBean | 
unmarshal(Unmarshaller unmarshaller)
 Unmashal the  
XmlWuicBean with the given unmarhalled. | 
configureHeap, configureTemplates, configureWorkflow, getProcessContext, internalConfigureconfigure, run, setMultipleConfigurationsgetNutObservers, getPollingInterval, observe, setPollingIntervalpublic FileXmlContextBuilderConfigurator(URL wuicXml) throws JAXBException
Creates a new instance.
wuicXml - the wuic.xml file URLJAXBException - if an context can't be initializedpublic String getTag()
 Gets the tag to use to identify the set of settings defined when ContextBuilderConfigurator.configure(ContextBuilder)
 is called.
 
getTag in class ContextBuilderConfiguratorprotected Long getLastUpdateTimestampFor(String path) throws IOException
Retrieves a timestamp that indicates the last time this nut has changed.
getLastUpdateTimestampFor in class PollingScheduler<ContextBuilderConfigurator>path - the real path of the nutIOException - if any I/O error occursprotected XmlWuicBean unmarshal(Unmarshaller unmarshaller) throws JAXBException
 Unmashal the XmlWuicBean with the given unmarhalled.
 
unmarshal in class XmlContextBuilderConfiguratorunmarshaller - the unmarshallerJAXBException - if the XML can't be readCopyright © 2012-2015. All Rights Reserved.